[This is preliminary documentation and is subject to change.]
Gets or sets delegate which is used for converting enumeration values to icons for message box
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static Func<MessageBox..::..MessageBoxIcons, IconOrBitmap> GetIconDelegate { get; set; } |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _ Public Shared Property GetIconDelegate As Func(Of MessageBox..::..MessageBoxIcons, IconOrBitmap) Get Set |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)] public: static property Func<MessageBox..::..MessageBoxIcons, IconOrBitmap^>^ GetIconDelegate { Func<MessageBox..::..MessageBoxIcons, IconOrBitmap^>^ get (); void set (Func<MessageBox..::..MessageBoxIcons, IconOrBitmap^>^ value); } |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>] static member GetIconDelegate : Func<MessageBox..::..MessageBoxIcons, IconOrBitmap> with get, set |
| JScript |
|---|
static function get GetIconDelegate () : Func<MessageBox..::..MessageBoxIcons, IconOrBitmap> static function set GetIconDelegate (value : Func<MessageBox..::..MessageBoxIcons, IconOrBitmap>) |
Field Value
New delegate to be shared by all messageboxes for converting enumeration members to iconsReturn Value
Current delegate that converts enumeration values to icons for message box
Remarks
Default value is GetIcon(MessageBox..::..MessageBoxIcons) function
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Value being set is null |