VisualStyleElement.Rebar.GripperVertical.Normal 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
獲得一個視覺風格元素,代表垂直鋼筋的抓握桿。
public:
static property System::Windows::Forms::VisualStyles::VisualStyleElement ^ Normal { System::Windows::Forms::VisualStyles::VisualStyleElement ^ get(); };
public static System.Windows.Forms.VisualStyles.VisualStyleElement Normal { get; }
static member Normal : System.Windows.Forms.VisualStyles.VisualStyleElement
Public Shared ReadOnly Property Normal As VisualStyleElement
屬性值
A VisualStyleElement 代表垂直鋼筋的夾持桿。
範例
以下程式碼範例示範如何用屬性VisualStyleRenderer回傳VisualStyleElement的 來建立 aNormal。 要執行這個範例,請將它貼到 Windows 表單中。 處理表單的Paint事件,並從DrawVisualStyleElementRebarGripperVertical1事件處理方法呼叫該Paint方法,傳遞e為 PaintEventArgs。
System.Windows.Forms.VisualStyleElements範例#206
備註
你可以利用屬性回傳VisualStyleElement的 Normal s 來建立一個 VisualStyleRenderer。