Ribbon for WinForms
GetBounds(Element,Boolean,Boolean) メソッド

C1.Win.8 アセンブリ > C1.Framework 名前空間 > XView クラス > GetBounds メソッド : GetBounds(Element,Boolean,Boolean) メソッド
XView.Element to locate.
Whether to get the bounds of the whole element or just the content area.
Whether to clip the rectangle based on ancestor elements.
Gets the rectangle that contains a given element.
シンタックス
'宣言
 
Public Overloads Function GetBounds( _
   ByVal e As Element, _
   ByVal contentArea As Boolean, _
   ByVal clip As Boolean _
) As Rectangle
public Rectangle GetBounds( 
   Element e,
   bool contentArea,
   bool clip
)

パラメータ

e
XView.Element to locate.
contentArea
Whether to get the bounds of the whole element or just the content area.
clip
Whether to clip the rectangle based on ancestor elements.

戻り値の型

Bounds of element e, in client coordinates.
解説
This method is similar to the Element.GetBounds method in the XView.Element class, except this one takes the current ScrollableControl.ScrollPosition into account.
参照

XView クラス
XView メンバ
オーバーロード一覧