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 hangi özellik değerinin alındığını belirten değerlerden biri.

Döndürülenler

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

Özel durumlar

prop değerlerden BooleanProperty biri değildir.

Açıklamalar

Görsel stiller, bir 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