VisualStyleRenderer.GetBoolean(BooleanProperty) Yöntem

Tanım

Geçerli görsel stili öğesi için belirtilen Boole özelliğinin değerini döndürür.

public:
 bool GetBoolean(System::Windows::Forms::VisualStyles::BooleanProperty prop);
public bool GetBoolean (System.Windows.Forms.VisualStyles.BooleanProperty prop);
member this.GetBoolean : System.Windows.Forms.VisualStyles.BooleanProperty -> bool
Public Function GetBoolean (prop As BooleanProperty) As Boolean

Parametreler

prop
BooleanProperty

BooleanProperty Geçerli görsel stili öğesi için alınacak özellik değerini belirten değerlerden biri.

Döndürülenler

Boolean

trueparametresi true tarafından prop belirtilen özellik geçerli görsel stili öğesi içinse; değilse, false.

Özel durumlar

prop değerlerden biri BooleanProperty değildir.

Açıklamalar

Görsel stiller, stil tarafından tanımlanan öğelerin bazı özelliklerini açıklamak için bir boole değerleri kümesi kullanır. Bu özellikler değerler tarafından BooleanProperty kapsüllenir.

Şunlara uygulanır