ClassRadTaskDialogIcon
A class that represents the icon of RadTaskDialogPage
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTaskDialogIcon : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTaskDialogIcon
Implements:
Inherited Members
Constructors
RadTaskDialogIcon(Bitmap)
Initializes a new instance of the RadTaskDialogIcon class.
Declaration
public RadTaskDialogIcon(Bitmap image)
Parameters
image
The image that will be displayed.
RadTaskDialogIcon(Icon)
Initializes a new instance of the RadTaskDialogIcon class.
Declaration
public RadTaskDialogIcon(Icon icon)
Parameters
icon
The icon that will be displayed.
RadTaskDialogIcon(IntPtr)
Initializes a new instance of the RadTaskDialogIcon class.
Declaration
public RadTaskDialogIcon(IntPtr iconHandle)
Parameters
iconHandle
The handle of the icon that will be displayed.
RadTaskDialogIcon(RadSvgImage)
Initializes a new instance of the RadTaskDialogIcon class.
Declaration
public RadTaskDialogIcon(RadSvgImage svgImage)
Parameters
svgImage
The vector image that will be displayed.
Properties
Error
Gets an RadTaskDialogIcon with image that indicates error.
Declaration
public static RadTaskDialogIcon Error { get; }
Property Value
IconHandle
Gets the icon handle.
IconType
Gets or sets the type of the RadTaskDialogIcon.
Declaration
public RadTaskDialogIconType? IconType { get; set; }
Property Value
Image
Gets or sets the image of the RadTaskDialogIcon
Declaration
public override Image Image { get; set; }
Property Value
Overrides
Information
Gets an RadTaskDialogIcon with image that indicates information.
Declaration
public static RadTaskDialogIcon Information { get; }
Property Value
None
Gets an RadTaskDialogIcon with no image.
Declaration
public static RadTaskDialogIcon None { get; }
Property Value
Shield
Gets an RadTaskDialogIcon with image that indicates shield.
Declaration
public static RadTaskDialogIcon Shield { get; }
Property Value
ShieldBlueBar
Gets an RadTaskDialogIcon with image that indicates shield and defines a blue background for the RadTaskDialogHeaderLayout.
Declaration
public static RadTaskDialogIcon ShieldBlueBar { get; }
Property Value
ShieldErrorRedBar
Gets an RadTaskDialogIcon with image that indicates shield and defines a red background for the RadTaskDialogHeaderLayout.
Declaration
public static RadTaskDialogIcon ShieldErrorRedBar { get; }
Property Value
ShieldGrayBar
Gets an RadTaskDialogIcon with image that indicates shield and defines a gray background for the RadTaskDialogHeaderLayout.
Declaration
public static RadTaskDialogIcon ShieldGrayBar { get; }
Property Value
ShieldSuccessGreenBar
Gets an RadTaskDialogIcon with image that indicates shield and defines a green background for the RadTaskDialogHeaderLayout.
Declaration
public static RadTaskDialogIcon ShieldSuccessGreenBar { get; }
Property Value
ShieldWarningYellowBar
Gets an RadTaskDialogIcon with image that indicates shield and defines a yellow background for the RadTaskDialogHeaderLayout.
Declaration
public static RadTaskDialogIcon ShieldWarningYellowBar { get; }
Property Value
Warning
Gets an RadTaskDialogIcon with image that indicates warning.
Declaration
public static RadTaskDialogIcon Warning { get; }
Property Value
Methods
GetLargeImage(RadTaskDialogIconImage)
Gets a large image 26x26px by given RadTaskDialogIconImage.
Declaration
public static Bitmap GetLargeImage(RadTaskDialogIconImage icon)
Parameters
icon
The type of the image to be returned.
Returns
The image.
GetSmallImage(RadTaskDialogIconImage)
Gets a small image 16x16px by given RadTaskDialogIconImage.
Declaration
public static Bitmap GetSmallImage(RadTaskDialogIconImage icon)
Parameters
icon
The type of the image to be returned.
Returns
The image.
GetSvgImage(RadTaskDialogIconImage, Size?)
Gets a vector image by given RadTaskDialogIconImage.
Declaration
public static RadSvgImage GetSvgImage(RadTaskDialogIconImage icon, Size? size = null)
Parameters
icon
The type of the vector image to be returned.
size
Size?
The default size of the vector image.
Returns
An instance of RadSvgImage.
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides