ShapeField.DefaultBackgroundBrushId Property
Gets or sets the ID of the default brush to paint the background of the shape field.
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 DefaultBackgroundBrushId As StyleSetResourceId
Get
Set
public StyleSetResourceId DefaultBackgroundBrushId { get; set; }
public:
property StyleSetResourceId^ DefaultBackgroundBrushId {
StyleSetResourceId^ get ();
void set (StyleSetResourceId^ value);
}
member DefaultBackgroundBrushId : StyleSetResourceId with get, set
function get DefaultBackgroundBrushId () : StyleSetResourceId
function set DefaultBackgroundBrushId (value : StyleSetResourceId)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID of the default brush to paint the background of the shape field.
Remarks
The ShapeField's GetBackgroundBrushId method returns this value unless GetBackgroundBrushId is overridden.
.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.