Class MessageWindowBase
[TemplatePart(Name = "PART_SnackBar", Type = typeof(Snackbar))]
[TemplatePart(Name = "PART_Message", Type = typeof(MessageContainer))]
[TemplatePart(Name = "PART_LAYERGROUP", Type = typeof(ContainPanel))]
public class MessageWindowBase : MainWindowBase, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IWindowBase, IMainWindow
- Inheritance
-
MessageWindowBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Fields
_layerGroup
protected ContainPanel _layerGroup
Field Value
Properties
DefaultKey
public static ComponentResourceKey DefaultKey { get; }
Property Value
DynamicKey
public static ComponentResourceKey DynamicKey { get; }
Property Value
Methods
AddSnackMessage(object)
public override void AddSnackMessage(object message)
Parameters
message
object
AddSnackMessage(object, object, Action)
public override void AddSnackMessage(object message, object actionContent, Action actionHandler)
Parameters
AddSnackMessage<TArgument>(object, object, Action<TArgument>, TArgument)
public override void AddSnackMessage<TArgument>(object message, object actionContent, Action<TArgument> actionHandler, TArgument actionArgument)
Parameters
Type Parameters
TArgument
CloseContainer()
public override void CloseContainer()
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
RefreshHide()
public override void RefreshHide()
Show(bool)
public override void Show(bool value)
Parameters
value
bool
ShowContainer(FrameworkElement, Predicate<Panel>)
public override void ShowContainer(FrameworkElement element, Predicate<Panel> predicate = null)
Parameters
element
FrameworkElementpredicate
Predicate<Panel>
ShowWindowNotifyMessage(INotifyMessageItem)
public override void ShowWindowNotifyMessage(INotifyMessageItem message)
Parameters
message
INotifyMessageItem