Właściwość Compartment.CompartmentFillColor —
Zwraca lub ustawia kolor tła dla kształtu Przedział.
Przestrzeń nazw: Microsoft.VisualStudio.Modeling.Diagrams
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Składnia
'Deklaracja
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("69da1a4a-b3a1-4859-b014-aa7799be6873")> _
Public Property CompartmentFillColor As Color
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/CompartmentFillColor.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("69da1a4a-b3a1-4859-b014-aa7799be6873")]
public Color CompartmentFillColor { get; set; }
Wartość właściwości
Typ: System.Drawing.Color
Kolor tła dla kształtu Przedział.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..