public virtual DrawFocusRectangle DrawFocusRectangle {get; set;}
'Declaration Public Overridable Property DrawFocusRectangle As DrawFocusRectangle
'使用法 Dim instance As ElementStyle Dim value As DrawFocusRectangle instance.DrawFocusRectangle = value value = instance.DrawFocusRectangle
このプロパティを設定することで、オブジェクトのフォーカス矩形を描画するかどうかと、その描画方法を指定できます。次の図は、ピクチャの周囲のみにフォーカス矩形を描画した場合を示します。
オブジェクトがフォーカスを受け取るかどうかを指定するには、CanFocusプロパティまたはEnabledプロパティを設定します。
ElementStyle クラス ElementStyle メンバ DrawFocusRectangle 列挙体 CanFocus プロパティ Enabled プロパティ
© 2004-2015, GrapeCity inc. All rights reserved.