Ribbon for WinForms
Element クラス メンバ
フィールド  プロパティ  メソッド 


C1.Win.4.8 アセンブリ > C1.Framework 名前空間 : Element クラス

Elementデータ型で公開されるメンバを以下の表に示します。

パブリック コンストラクタ
 名前解説
Public コンストラクタオーバーロードされます。   
トップ
プロテクト フィールド
 名前解説
Protected フィールドThe System.Drawing.Rectangle that defines the position of the Element within its parent.  
Protected フィールドAn Element.ElementFlags value that defines the behavior of this Element.  
Protected フィールドThe parent Element.  
Protected フィールドThe Style object that defines the appearance of this Element.  
トップ
パブリック プロパティ
 名前解説
Public プロパティGets or sets the System.Boolean value specifying whether element height is automatically determined by its style and contents.  
Public プロパティGets the System.Boolean value specifying whether element size is automatically determined by its style and contents.  
Public プロパティGets or sets the System.Boolean value specifying whether element width is automatically determined by its style and contents.  
Public プロパティGets or sets the element's bounds (size and location) within its parent element, in pixels.  
Public プロパティGets a list of child elements.  
Public プロパティGets a value that indicates whether this Element or one of its children has the focus.  
Public プロパティClient rectangle, in pixels. This discounts margins, borders, and padding.  
Public プロパティGets or sets whether the element is enabled (can receive mouse and keyboard messages).  
Public プロパティGets or sets whether the element is focusable (receives keyboard messages).  
Public プロパティGets a value that indicates whether this Element has the focus.  
Public プロパティGets a Element.LineBreak value that determines whether there should be line breaks before and/or after this Element when it occurs in a paragraph.  
Public プロパティGets a value that indicates the element has a non-empty Children collection.  
Public プロパティElement height. Set to -1 to let the element calculate it automatically.  
Public プロパティGets or sets whether the element is hit-testable (receives mouse messages).  
Public プロパティGets the System.Windows.Forms.Control that is hosting this Element.  
Public プロパティGets the IView that is hosting this Element.  
Public プロパティGets or sets whether the value of RightToLeft property is inherited from the parent element.  
Public プロパティGets a value that indicates this element needs to be laid out.  
Public プロパティGets whether this element and all its ancestors are enabled.  
Public プロパティGets whether this element can currently receive the focus.  
Public プロパティGets or sets whether the element should be displayed using the Style.Hot style.  
Public プロパティGets or sets whether the element should be displayed using the Style.Pressed style.  
Public プロパティGets whether this element and all its ancestors are visible.  
Public プロパティGets or sets the horizontal position of the element within its parent.  
Public プロパティGets the portion of the element that renders below the baseline. Usually non-zero only for text elements, depends on font.  
Public プロパティGets or sets the location of the element within its parent.  
Public プロパティGets the element's parent, or null if this is the root element.  
Public プロパティGets the element's style, or a default style if the element doesn't have one. This never returns null.  
Public プロパティGets or sets whether the element should be drawn using right-to-left layout.  
Public プロパティGets the element's top-level parent.  
Public プロパティGets or sets whether the element should display a focus rectangle when it has focus.  
Public プロパティGets or sets the size of the element.  
Public プロパティGets or sets the Style object used to render this Element.  
Public プロパティGets or sets the vertical position of the element within its parent.  
Public プロパティGets or sets a value indicating if the contents was successfully validated.  
Public プロパティGets or sets whether the element is visible.  
Public プロパティElement width. Set to -1 to let the element calculate it automatically.  
トップ
パブリック メソッド
 名前解説
Public メソッドstatic (Shared in Visual Basic)  
Public メソッドReturns a clone of this element.  
Public メソッドstatic (Shared in Visual Basic)Finds the Element that is represented by a given hot key.  
Public メソッドSets the focus to the host control and to this Element within the host control.  
Public メソッドstatic (Shared in Visual Basic)Gets a System.Drawing.Bitmap from the application's embedded resources.  
Public メソッドオーバーロードされます。 Gets the element's bounds (size and location) within an arbitrary ancestor, in pixels. Ancestor element (parent, grand-parent, etc). A System.Drawing.Rectangle that corresponds to the element's position within the given ancestor.  
Public メソッド  
Public メソッドstatic (Shared in Visual Basic)Gets an System.Drawing.Image from the application's embedded resources.  
Public メソッドNavigates up the tree to find an ancestor of a given type.  
Public メソッドNavigates up the tree to find an ancestor of a given type.  
Public メソッドReturns the scroll origin (override to implement non-scrolling areas).  
Public メソッドReturns the element at a given point.  
Public メソッドオーバーロードされます。 Invalidates this Element within the host control.  
Public メソッドDetermines whether this element is a child of another element.  
Public メソッドDetermines whether the specified key is a regular input key or a special key that requires preprocessing.  
Public メソッドオーバーロードされます。 Lays out this element based on its style and contents.  
Public メソッドオーバーロードされます。 Provides the size, in pixels, of the specified content drawn on the specified System.Drawing.Graphics surface.  
Public メソッドAdjusts the location of this element by the specified amount.  
Public メソッドCalled by the host control when the user clicks this Element.  
Public メソッドCalled by the host control when the user double-clicks this Element.  
Public メソッドCalled by the host control when this Element receives the focus.  
Public メソッドCalled by the host control when the user presses a key and this Element has the focus.  
Public メソッドCalled by the host control when the user presses a character key and this Element has the focus.  
Public メソッドCalled by the host control when the user releases a key and this Element has the focus.  
Public メソッドCalled by the host control when this Element loses the focus.  
Public メソッドCalled by the host control when the user presses a mouse button over this Element.  
Public メソッドCalled by the host control when the mouse enters this Element.  
Public メソッドCalled by the host control when the mouse enters this Element, even if another element has captured the mouse.  
Public メソッドCalled by the host control when the mouse leaves this Element.  
Public メソッドCalled by the host control when the mouse leaves this Element, even if another element has captured the mouse.  
Public メソッドCalled by the host control when the user releases the left mouse button over a disabled Element.  
Public メソッドCalled by the host control when the mouse moves over this Element.  
Public メソッドCalled by the host control when the user releases a mouse button over this Element.  
Public メソッドHandles MouseWheel events.  
Public メソッドCalled by the host control after the element has been validated.  
Public メソッドCalled by the host control when the element is about to lose focus.  
Public メソッドComputes the location of the specified screen point into client coordinates.  
Public メソッドComputes the location of the specified client point into screen coordinates.  
Public メソッドRenders the element into a given rectangle.  
Public メソッドRenders the child elements into a given rectangle.  
Public メソッドRender this element's content (no children).  
Public メソッドオーバーロードされます。 Marks this element as dirty, forcing all parent and child elements to be laid out.  
Public メソッドオーバーロードされます。   
Public メソッドstatic (Shared in Visual Basic)  
トップ
プロテクト メソッド
 名前解説
Protected メソッドFinalizes the user interface. This method is called when element is removed from UI.  
Protected メソッドGets a System.Drawing.Drawing2D.GraphicsPath that covers only the borders (hollow, used to renders the borders).  
Protected メソッドGets the DPI value for the display device where the HostControl is currently being displayed.  
Protected メソッド  
Protected メソッドCalled by the host control when the state of this Element changes.  
Protected メソッドProvides constants for rescaling the Element when a DPI change occurs.  
Protected メソッドオーバーロードされます。 Scales the Style instance uses the DeviceDpi value if this element has a HostControl.  
Protected メソッド  
トップ
参照

Element クラス
C1.Framework 名前空間