Class RadTaskDialogIcon
A class that represents the icon of RadTaskDialogPage
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskDialogIcon : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTaskDialogIcon(Bitmap)
Initializes a new instance of the RadTaskDialogIcon class.
Declaration
public RadTaskDialogIcon(Bitmap image)
Parameters
System.Drawing.Bitmap
image
The image that will be displayed. |
RadTaskDialogIcon(Icon)
Initializes a new instance of the RadTaskDialogIcon class.
Declaration
public RadTaskDialogIcon(Icon icon)
Parameters
System.Drawing.Icon
icon
The icon that will be displayed. |
RadTaskDialogIcon(IntPtr)
Initializes a new instance of the RadTaskDialogIcon class.
Declaration
public RadTaskDialogIcon(IntPtr iconHandle)
Parameters
System.IntPtr
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
RadSvgImage
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
RadTaskDialogIcon
|
IconHandle
Gets the icon handle.
Declaration
public IntPtr IconHandle { get; }
Property Value
System.IntPtr
|
IconType
Gets or sets the type of the RadTaskDialogIcon.
Declaration
public RadTaskDialogIconType? IconType { get; set; }
Property Value
System.Nullable<RadTaskDialogIconType>
|
Image
Gets or sets the image of the RadTaskDialogIcon
Declaration
public override Image Image { get; set; }
Property Value
System.Drawing.Image
|
Overrides
Information
Gets an RadTaskDialogIcon with image that indicates information.
Declaration
public static RadTaskDialogIcon Information { get; }
Property Value
RadTaskDialogIcon
|
None
Gets an RadTaskDialogIcon with no image.
Declaration
public static RadTaskDialogIcon None { get; }
Property Value
RadTaskDialogIcon
|
Shield
Gets an RadTaskDialogIcon with image that indicates shield.
Declaration
public static RadTaskDialogIcon Shield { get; }
Property Value
RadTaskDialogIcon
|
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
RadTaskDialogIcon
|
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
RadTaskDialogIcon
|
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
RadTaskDialogIcon
|
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
RadTaskDialogIcon
|
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
RadTaskDialogIcon
|
Warning
Gets an RadTaskDialogIcon with image that indicates warning.
Declaration
public static RadTaskDialogIcon Warning { get; }
Property Value
RadTaskDialogIcon
|
Methods
GetLargeImage(RadTaskDialogIconImage)
Gets a large image 26x26px by given RadTaskDialogIconImage.
Declaration
public static Bitmap GetLargeImage(RadTaskDialogIconImage icon)
Parameters
RadTaskDialogIconImage
icon
The type of the image to be returned. |
Returns
System.Drawing.Bitmap
The image. |
GetSmallImage(RadTaskDialogIconImage)
Gets a small image 16x16px by given RadTaskDialogIconImage.
Declaration
public static Bitmap GetSmallImage(RadTaskDialogIconImage icon)
Parameters
RadTaskDialogIconImage
icon
The type of the image to be returned. |
Returns
System.Drawing.Bitmap
The image. |
GetSvgImage(RadTaskDialogIconImage, Nullable<Size>)
Gets a vector image by given RadTaskDialogIconImage.
Declaration
public static RadSvgImage GetSvgImage(RadTaskDialogIconImage icon, Size? size = default(Size? ))
Parameters
RadTaskDialogIconImage
icon
The type of the vector image to be returned. |
System.Nullable<System.Drawing.Size>
size
The default size of the vector image. |
Returns
RadSvgImage
An instance of RadSvgImage. |
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|