Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Property DefaultImage As Image
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: Image

Examples

For an example, see ImageField.

.NET Framework Security

See Also

Reference

ImageField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace