Class RadDesktopAlertElement
This class represents the main element of a RadDesktopAlertwindow.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadDesktopAlertElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadDesktopAlertElement()
Declaration
public RadDesktopAlertElement()
Fields
CaptionTextProperty
ContentImageProperty
ContentTextProperty
Properties
AutoSizeHeight
Gets or sets a value indicating whether the control is automatically resized by Height to display its entire contents.
Declaration
public bool AutoSizeHeight { get; set; }
Property Value
System.Boolean
|
ButtonsPanel
Gets an instance of the AlertWindowButtonsPanelclass that represents the panel which holds the buttons added to the RadDesktopAlertcomponent.
Declaration
public AlertWindowButtonsPanel ButtonsPanel { get; }
Property Value
AlertWindowButtonsPanel
|
CaptionElement
Gets an instance of the AlertWindowCaptionElementclass that represents the caption of a RadDesktopAlertcomponent. The caption contains moving grip and system buttons.
Declaration
public AlertWindowCaptionElement CaptionElement { get; }
Property Value
AlertWindowCaptionElement
|
CaptionText
Gets or sets the text of the RadDesktopAlertElementcaption.
Declaration
public string CaptionText { get; set; }
Property Value
System.String
|
ContentElement
Gets an instance of the AlertWindowContentElementclass that represents the main content element of a RadDesktopAlertcomponent. This element contains an image and a text element.
Declaration
public AlertWindowContentElement ContentElement { get; }
Property Value
AlertWindowContentElement
|
ContentImage
Gets or sets an instance of the System.Drawing.Imageclass that represents the alert's content image.
Declaration
public Image ContentImage { get; set; }
Property Value
System.Drawing.Image
|
ContentText
Gets or sets the content text of the RadDesktopAlertElement. This is the actual text displayed in a RadDesktopAlert.
Declaration
public string ContentText { get; set; }
Property Value
System.String
|
ShowCloseButton
Gets or sets a boolean value determining whether the close button is shown.
Declaration
public bool ShowCloseButton { get; set; }
Property Value
System.Boolean
|
ShowOptionsButton
Gets or sets a boolean value determining whether the options button is shown.
Declaration
public bool ShowOptionsButton { get; set; }
Property Value
System.Boolean
|
ShowPinButton
Gets or sets a boolean value determining whether the pin button is shown.
Declaration
public bool ShowPinButton { get; set; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnNotifyPropertyChanged(String)
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|