[This is preliminary documentation and is subject to change.]

Gets or sets icon image to display on the message box

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Appearance)]
[DefaultValueAttribute(typeof(Image), null)]
public Image Icon { get; set; }
Visual Basic
<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Appearance)> _
<DefaultValueAttribute(GetType(Image), Nothing)> _
Public Property Icon As Image
	Get
	Set
Visual C++
[KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories::Appearance)]
[DefaultValueAttribute(typeof(Image), nullptr)]
public:
property Image^ Icon {
	Image^ get ();
	void set (Image^ value);
}
F#
[<KnownCategoryAttribute(KnownCategoryAttribute..::..KnownCategories.Appearance)>]
[<DefaultValueAttribute(typeof(Image), null)>]
member Icon : Image with get, set
JScript
function get Icon () : Image
function set Icon (value : Image)

Remarks

Expected image size is 64×64px. Image is resized proportionaly to fit this size. This may be changed by derived class.

See Also