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

C1.Win.Ribbon.4.8 アセンブリ > C1.Win.Ribbon 名前空間 > C1Ribbon クラス > GetBounds メソッド : GetBounds(Element,Boolean,Boolean) メソッド
C1.Framework.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
C1.Framework.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 C1.Framework.Element.GetBounds method in the C1.Framework.XView.Element class, except this one takes the current C1.Framework.ScrollableControl.ScrollPosition into account.
参照

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