ImageField.DefaultImage Property
Gets or sets the default image associated with this ImageField. The default image can be customized by overriding the GetDisplayImage method.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Property DefaultImage As Image
Get
Set
public Image DefaultImage { get; set; }
public:
property Image^ DefaultImage {
Image^ get ();
void set (Image^ value);
}
member DefaultImage : Image with get, set
function get DefaultImage () : Image
function set DefaultImage (value : Image)
Property Value
Type: System.Drawing.Image
Examples
For an example, see ImageField.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.