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

声明
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

See Also

Reference

ImageField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace