共用方式為


Shape.ExposesFillGradientMode Property

Gets or sets the value of ExposesFillGradientMode domain property. If True, a domain property has been added to the shape to allow the fill gradient mode to be exposed in the properties window of the generated designer.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("3ddc0160-ab19-4483-975e-fe47d4fbf401")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public ReadOnly Property ExposesFillGradientMode As Boolean
    Get
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("3ddc0160-ab19-4483-975e-fe47d4fbf401")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool ExposesFillGradientMode { get; }
[DomainPropertyAttribute(Kind = DomainPropertyKind::Calculated)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"3ddc0160-ab19-4483-975e-fe47d4fbf401")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property bool ExposesFillGradientMode {
    bool get ();
}
[<DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("3ddc0160-ab19-4483-975e-fe47d4fbf401")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Shape/ExposesFillGradientMode.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member ExposesFillGradientMode : bool
function get ExposesFillGradientMode () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace