Class DesktopAlertPopup
This class represents the popup of a Rad
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class DesktopAlertPopup : RadPopupControlBase, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IPopupControl
Constructors
DesktopAlertPopup(RadElement, RadDesktopAlert)
Creates an instance of the Desktop
Declaration
public DesktopAlertPopup(RadElement element, RadDesktopAlert owner)
Parameters
Rad An instance of the Rad |
Rad An instance of the Rad |
DesktopAlertPopup(RadDesktopAlert)
Creates an instance of the Desktop
Declaration
public DesktopAlertPopup(RadDesktopAlert owner)
Parameters
Rad An instance of the Rad |
Properties
AlertElement
Gets an instance of the Rad
Declaration
public RadDesktopAlertElement AlertElement { get; }
Property Value
AutoClose
Gets a sets a boolean value determining whether the alert popup will be automatically closed after a given amount of time.
Declaration
public bool AutoClose { get; set; }
Property Value
System.
|
AutoCloseDelay
Gets or sets the amount of time in seconds after which the alert will be automatically closed.
Declaration
public int AutoCloseDelay { get; set; }
Property Value
System.
|
ButtonItems
Gets an instance of the Rad
Declaration
public RadItemCollection ButtonItems { get; }
Property Value
CanMove
Gets or sets a boolean value determining whether the popup can be moved by dragging it by the grip.
Declaration
public bool CanMove { get; set; }
Property Value
System.
|
CaptionText
Gets or sets the caption text of the alert.
Declaration
public virtual string CaptionText { get; set; }
Property Value
System.
|
ContentText
Gets or sets the content text of the alert.
Declaration
public virtual string ContentText { get; set; }
Property Value
System.
|
Image
Gets or sets the content image of the alert.
Declaration
public virtual Image Image { get; set; }
Property Value
System.
|
IsPinned
Gets or sets a boolean value determining whether the popup is pinned on the screen.
Declaration
public bool IsPinned { get; set; }
Property Value
System.
|
OptionItems
ShowCloseButton
Gets or sets a boolean value determining whether the close button is shown.
Declaration
public bool ShowCloseButton { get; set; }
Property Value
System.
|
ShowOptionsButton
Gets or sets a boolean value determining whether the options button is shown.
Declaration
public bool ShowOptionsButton { get; set; }
Property Value
System.
|
ShowPinButton
Gets or sets a boolean value determining whether the pin button is shown.
Declaration
public bool ShowPinButton { get; set; }
Property Value
System.
|
ThemeClassName
Declaration
public override string ThemeClassName { get; set; }
Property Value
System.
|
Overrides
Methods
CanClosePopup(RadPopupCloseReason)
Declaration
public override bool CanClosePopup(RadPopupCloseReason reason)
Parameters
Rad
|
Returns
System.
|
Overrides
ControlDefinesThemeForElement(RadElement)
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
Rad
|
Returns
System.
|
Overrides
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
Rad
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
Overrides
GetHorizontalPopupLocation(Rectangle)
Declaration
protected override int GetHorizontalPopupLocation(Rectangle alignmentRectangle)
Parameters
System.
|
Returns
System.
|
Overrides
OnKeyDown(Keys)
Declaration
public override bool OnKeyDown(Keys keyData)
Parameters
System.
|
Returns
System.
|
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.
|
Overrides
OnNotifyPropertyChanged(String)
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.
|
Overrides
OnPopupOpening(CancelEventArgs)
Declaration
protected override void OnPopupOpening(CancelEventArgs args)
Parameters
System.
|
Overrides
ResumeAutoClose()
Restarts the auto-close timer.
Declaration
public void ResumeAutoClose()
SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
Declaration
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Overrides
ShowPopupCore(Size, Point)
Declaration
protected override void ShowPopupCore(Size size, Point location)
Parameters
System.
|
System.
|
Overrides
SuspendAutoClose()
Stops the auto-close timer.
Declaration
public void SuspendAutoClose()