Aracılığıyla paylaş


ShapeElement.CreateClassStyleSet Yöntem

Şekil türü için ayarlanmış bir sınıf stil oluşturur.

Ad alanı:  Microsoft.VisualStudio.Modeling.Diagrams
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)

Sözdizimi

'Bildirim
Protected Overridable Function CreateClassStyleSet As StyleSet
protected virtual StyleSet CreateClassStyleSet()

Dönüş Değeri

Tür: Microsoft.VisualStudio.Modeling.Diagrams.StyleSet
Sınıf stil için Şekil türünü ayarlayın.

Örnekler

protected override DslDiagrams::StyleSet ClassStyleSet
{
get
{
if (classStyleSet == null)
{
classStyleSet = CreateClassStyleSet();
}
return classStyleSet;
}
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ShapeElement Sınıf

Microsoft.VisualStudio.Modeling.Diagrams Ad Alanı