Click or drag to resize
RadDesktopAlert Class
Represents control that can be used to display a small notification on the screen to alert the user that an event occurred. The location of the alert and the way it appears can be customized.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadDesktopAlert : HeaderedContentControl, 
	ICommandSource, IThemable

The RadDesktopAlert type exposes the following members.

Constructors
  NameDescription
Public methodRadDesktopAlert
Initializes a new instance of the RadDesktopAlert class.
Top
Methods
  NameDescription
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnClick
Called when the content of the alert is clicked and raises a Click event.
Protected methodOnClosed
Called when the alert is closed and raises a Closed event.
Protected methodOnCreateAutomationPeer (Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Protected methodOnMenuClosed
Raises the [E:MenuClosed] event.
Protected methodOnMenuOpened
Raises the [E:MenuOpened] event.
Protected methodOnMouseEnter
Invoked when an unhandled MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.
(Overrides UIElementOnMouseEnter(MouseEventArgs).)
Protected methodOnMouseLeave
Invoked when an unhandled MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.
(Overrides UIElementOnMouseLeave(MouseEventArgs).)
Protected methodOnMouseLeftButtonUp
Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnMouseLeftButtonUp(MouseButtonEventArgs).)
Public methodResetTheme
Resets the theme.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberCanAutoCloseProperty
Identifies the CanAutoClose dependency property.
Public fieldStatic memberCanMoveProperty
Identifies the CanMove dependency property.
Public fieldStatic memberClickEvent
Identifies the Click routed event.
Public fieldStatic memberClosedEvent
Identifies the Closed routed event.
Public fieldStatic memberCommandParameterProperty
Identifies the CommandParameter dependency property.
Public fieldStatic memberCommandProperty
Identifies the Command dependency property.
Public fieldStatic memberCommandTargetProperty
Identifies the CommandTarget property.
Public fieldStatic memberIconColumnWidthProperty
Identifies the IconColumnWidth dependency property.
Public fieldStatic memberIconMarginProperty
Identifies the IconMargin dependency property.
Public fieldStatic memberIconProperty
Identifies the Icon property.
Public fieldStatic memberIconTemplateProperty
Identifies the IconTemplate dependency property.
Public fieldStatic memberIsMenuOpenProperty
Identifies the IsMenuOpen dependency property.
Public fieldStatic memberIsMouseOverAlertProperty
Identifies the IsMouseOverAlert Property.
Public fieldStatic memberMenuItemContainerStyleProperty
Identifies the MenuItemContainerStyle dependency property.
Public fieldStatic memberMenuItemsSourceProperty
Identifies the MenuItemsSource dependency property.
Public fieldStatic memberShowCloseButtonProperty
Identifies the ShowCloseButton dependency property.
Public fieldStatic memberShowDurationProperty
Identifies the ShowDuration dependency property.
Public fieldStatic memberShowMenuButtonProperty
Identifies the ShowMenuButton dependency property.
Top
Properties
  NameDescription
Public propertyCanAutoClose
Gets or sets the value that indicates whether the RadDesktopAlert can automatically close. This is a dependency property.
Public propertyCanMove
Gets or sets a boolean value determining whether the RadDesktopAlert can be moved by dragging. This is a dependency property.
Public propertyCommand
Gets the command that will be executed when the command source is invoked.
Public propertyCommandParameter
Represents a user defined data value that can be passed to the command when it is executed.
Public propertyCommandTarget
The object that the command is being executed on.
Public propertyIcon
Gets or sets the icon that appears in a RadDesktopAlert. This is a dependency property.
Public propertyIconColumnWidth
Gets or sets the width of the column that contains the icon area. This is a dependency property.
Public propertyIconMargin
Gets or sets the margin of the icon of RadDesktopAlert. This is a dependency property.
Public propertyIconTemplate
Gets or sets the data template used for Icon. This is a dependency property.
Public propertyIsMenuOpen
Gets or sets the value that indicates whether the RadDesktopAlert drop-down menu is currently open. This is a dependency property.
Public propertyIsMouseOverAlert
Gets a value indicating whether the mouse pointer is located over RadDesktopAlert.
Public propertyMenuItemContainerStyle
Gets or sets the Style that is applied to the container element generated for each item of RadDesktopAlert drop-down menu.
Public propertyMenuItemsSource
Gets or sets a collection used to generate the content of RadDesktopAlert drop-down menu.
Public propertyShowCloseButton
Gets or sets a boolean value determining whether the Close button of RadDesktopAlert will be visible. This is a dependency property.
Public propertyShowDuration
Gets or sets the amount of time in milliseconds after which RadDesktopAlert will be automatically closed. This is a dependency property.
Public propertyShowMenuButton
Gets or sets a boolean value determining whether the Menu button of RadDesktopAlert will be visible. This is a dependency property.
Top
Events
  NameDescription
Public eventClick
Occurs when a RadDesktopAlert is clicked.
Public eventClosed
Occurs when a RadDesktopAlert is closed.
Public eventMenuClosed
Occurs when the drop-down menu of the RadDesktopAlert closes.
Public eventMenuOpened
Occurs when the drop-down menu of the RadDesktopAlert opens.
Top
See Also