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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Property DefaultImage As Image
'Usage
Dim instance As ImageField
Dim value As Image
value = instance.DefaultImage
instance.DefaultImage = value
public Image DefaultImage { get; set; }
public:
property Image^ DefaultImage {
Image^ get ();
void set (Image^ value);
}
public function get DefaultImage () : Image
public 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.