The following tables list the members exposed by TextUIElementBase.
Name | Description | |
---|---|---|
childElementsCollection | The collection of child elements (Inherited from Infragistics.Win.UIElement) | |
childElementsCollectionDirty | Indicates if the child elements for this element need to be repositioned/created (Inherited from Infragistics.Win.UIElement) | |
parentElement | The parent UIElement (will be null for the ControlUIElementBase derived classes (Inherited from Infragistics.Win.UIElement) | |
rectValue | The rect of this elements in client coordinates of the control (Inherited from Infragistics.Win.UIElement) |
Name | Description | |
---|---|---|
AccessibilityInstance | Returns the accessible object associated with the element. (Inherited from Infragistics.Win.UIElement) | |
AccessibilityInstanceResolved | Returns the accessible object associated with this element or one of its parent elements. (Inherited from Infragistics.Win.UIElement) | |
Adjustable | Returns true is this element can be moved or resized by the user (Inherited from Infragistics.Win.UIElement) | |
AreTouchMetricsEnabled | Returns whether Touch mode is currently enabled on this control. (Inherited from Infragistics.Win.UIElement) | |
BorderSides | Returns flags indicating which borders will be drawn (Inherited from Infragistics.Win.UIElement) | |
BorderStyle | BorderStyle of the element. UIElementBorderStyle (Inherited from Infragistics.Win.UIElement) | |
CancelCaptureOnEscape | Indicates if capture for this element should be terminated if the escape key is pressed. (Inherited from Infragistics.Win.UIElement) | |
CharactersRendered | Returns the number of characters rendered during the last draw operation. | |
ChildElements | Returns the child elements array (read-only) (Inherited from Infragistics.Win.UIElement) | |
ChildElementsDirty | True indicates that the child elements need to be created/adjusted on the next draw operation (read-only) (Inherited from Infragistics.Win.UIElement) | |
ClipRect | Returns the intersection of this element's rect's with all of its parent element's rects (Inherited from Infragistics.Win.UIElement) | |
Control | Walks up the parent chain until it reaches a Control element (which overrides this method) (Inherited from Infragistics.Win.UIElement) | |
ControlElement | Returns the top level/control element. Read-only. (Inherited from Infragistics.Win.UIElement) | |
Cursor | Returns the cursor that should be used when the mouse is over the element. By default this just walks up the parent chain by returning its parent's cursor (Inherited from Infragistics.Win.UIElement) | |
Disposed | (Inherited from Infragistics.Shared.DisposableObject) | |
DrawingClipRect | Returns the intersection of this element's rect's with all of its parent element's rects. This can differ from the ClipRect when RightToLeft is true or if the ZoomFactor is different than 1. (Inherited from Infragistics.Win.UIElement) | |
DrawingRect | Returns the rect into which the element will draw. This can differ from the Rect when RightToLeft is true or if the ZoomFactor is different than 1. (Inherited from Infragistics.Win.UIElement) | |
DrawingRectInsideBorders | Returns the rect into which the element will draw after adjusting for any borders. This can differ from the RectInsideBorders when RightToLeft is true or if the ZoomFactor is different than 1. (Inherited from Infragistics.Win.UIElement) | |
DrawingRegion | Returns the Region into which the element will draw. This can differ from the Region when RightToLeft is true or if the ZoomFactor is different than 1. (Inherited from Infragistics.Win.UIElement) | |
Enabled | Gets/sets whether this element is enabled. Note: this will return false the element or any of its ancestors are disabled. (Inherited from Infragistics.Win.UIElement) | |
FirstTabOffset | The number of spaces between the beginning of the text and the first tab stop. | |
FocusableMouseButtons | Controls the mouse buttons that will cause the control to take focus defaults to all. | |
HasChildElements | Returns true if there are any child elements (read-only) (Inherited from Infragistics.Win.UIElement) | |
HotkeyPrefix | Abstract property to determine whether mnemonics are displayed in the text. | |
IsAccessibleElement | Indicates if the element supports accessibility. (Inherited from Infragistics.Win.UIElement) | |
IsDrawing | True if this element is in a drawing operation (read-only). (Inherited from Infragistics.Win.UIElement) | |
IsElementDrawn | True if this element is drawn normally. The default implementation of this property returns true. It may be overidden by some elements who don't do any rendering (e.g. scrollbars since they are actually scrollbar windows that render themselves) (Inherited from Infragistics.Win.UIElement) | |
IsFullyVisible | Returns true if the entire elment is visible or false if any part is clipped (Inherited from Infragistics.Win.UIElement) | |
IsTextFullyVisible | Returns true if the text is fully displayed in the text element. Note that this method relies on TrackCharactersRendered and TrackTextArea properties being true, which they are by default. | |
IsUiaDelegatingElement | Indicates that this element supports UI Automation, but only as an invisible delegate that does not display in the UIAutomation tree. (Inherited from Infragistics.Win.UIElement) | |
IsUiaElement | Indicates if the element supports UI Automation. (Inherited from Infragistics.Win.UIElement) | |
MultiLine | Abstract property to get/set the multiline property | |
NestDepth | The nesting depth, 0 for top level control elements, 1 for their direct child elements, 2 for those element's child elements etc. (read-only) (Inherited from Infragistics.Win.UIElement) | |
Padding | Abstract property to get/set the text padding | |
Parent | The parent/containing element (will be null for a top level/control element). (Inherited from Infragistics.Win.UIElement) | |
ParentIsRightToLeft | Returns whether this element is contained within an element that is RightToLeft. (Inherited from Infragistics.Win.UIElement) | |
Path | Specifies a GraphicsPath to use for drawing the Background, Borders, or ImageBackground of the UIElement. (Inherited from Infragistics.Win.UIElement) | |
Rect | The element's bounding rectangle in client coordinates (Inherited from Infragistics.Win.UIElement) | |
RectInsideBorders | Returns the rectangle after adjusting for any borders (Inherited from Infragistics.Win.UIElement) | |
RectInsidePadding | The rect inside the borders and padding (read-only) | |
Region | Returns the region of this element. The default returns the element's Rect as a region. This method can be overriden to supply an irregularly shaped region (Inherited from Infragistics.Win.UIElement) | |
RightToLeft | Gets a value indicating whether elements are aligned to support locales using right-to-left fonts. (Inherited from Infragistics.Win.UIElement) | |
RightToLeftResolved | Returns the resolved RightToLeft state of the element. (Inherited from Infragistics.Win.UIElement) | |
Rotated | Determines if the text should be rotated 180 degrees. | |
SelectableItem | If the context for this element is a selectable item (e.g. a grid row, cell or header) it is returned. The default implementation walks up the parent chain calling this method recursively until a selectable item is found or the control element is reached (Inherited from Infragistics.Win.UIElement) | |
ShouldUseTypographicFormatString | Boolean property which shows if the UIElement should use Typographic FormatString | |
TabStops | An array of floats indicating the number of spaces between tab stops. | |
Text | Abstract property to get/set the text | |
TextArea | We cache a rectangle during DrawForeground that keeps track of the text area. | |
TextOrientation | Gets or sets the text orientation to use when drawing the text. | |
TextSize | Returns the cached size of the string calculated in the last DrawForeground invocation. | |
ThemedElementRegion | Returns the region of this element that themed drawing should be clipped to. The default implementation returns null. (Inherited from Infragistics.Win.UIElement) | |
ToolTipEnabled | Specifies whether to display the tooltip if the text element is not able to render the tooltip completely. | |
ToolTipItem | Overridden. Overridden. Returns or sets an object that provides tooltip information for the element. | |
TrackCharactersRendered | Gets/sets whether the element should maintain the count of characters when rendering the text. | |
TrackTextArea | Specifies whether to track the text area (TextArea). Default is true. | |
UIAutomationProvider | Returns a UIAutomation provider for this UIElement. (Inherited from Infragistics.Win.UIElement) | |
UIRole | Returns the Infragistics.Win.AppStyling.UIRole associated with this element. (Inherited from Infragistics.Win.UIElement) | |
UIRoleResolved | Returns the Infragistics.Win.AppStyling.UIRole used by this element or an element higher up the parent chain. (Inherited from Infragistics.Win.UIElement) | |
Vertical | Abstract property to get/set the vertical property | |
WrapText | Returns true if the text is to be wrapped. |
Name | Description | |
---|---|---|
ChildElementArrayCapacity | Returns the expected number of child elements for this element (Inherited from Infragistics.Win.UIElement) | |
ClipChildren | Returning true causes all drawing of this element's child elements to be expicitly clipped to the area inside this elements borders (Inherited from Infragistics.Win.UIElement) | |
ClipRectChildren | Returns the rect inside borders as the default (Inherited from Infragistics.Win.UIElement) | |
ClipSelf | Returning true causes all drawing of this element to be expicitly clipped to its region (Inherited from Infragistics.Win.UIElement) | |
DelegateMousePanningToParent | Returns the element which handles mouse panning for this element. (Inherited from Infragistics.Win.UIElement) | |
DrawsBackColor | Determines if the backcolor is drawn (read-only) | |
DrawsFocusRect | Returns true if this element needs to draw a focus rect. This should be overridden since the default implementation always returns false. (Inherited from Infragistics.Win.UIElement) | |
DrawsImageBackground | Determines if the backgroud image is drawn (read-only) | |
ForceDrawsFocusRect | Returns a boolean value indicating whether this element's focus rectangle drawing logic should ignore the associated control's focused state. (Inherited from Infragistics.Win.UIElement) | |
HasCapture | Indicates if the element has capture. (Inherited from Infragistics.Win.UIElement) | |
InkProvider | Returns the InkProvider registered for our control's container. (Inherited from Infragistics.Win.UIElement) | |
NotificationBadgeProvider | If the element can show Notification Badges it will return its provider. (Inherited from Infragistics.Win.UIElement) | |
PrimaryContext | Used to keep track of the primary context for this element (e.g. its Row, Cell, Header etc.). Since most elements need only one context this property is usually adequate. (Inherited from Infragistics.Win.UIElement) | |
SupportsHorizontalMousePanning | Gets whether this Element supports horizontal mouse panning Default implementation returns false; derived elements that want to support panning must override this property implementation and return true If a derived element returns true, the mouse is captured when the middle button is pressed. The virtual 'OnMousePanHorizontal' method will be called during the capture. Derived elements that want to support panning should override OnMousePanHorizontal, and perform scrolling operations from within that method (Inherited from Infragistics.Win.UIElement) | |
SupportsVerticalMousePanning | Gets whether this Element supports vertical mouse panning Default implementation returns false; derived elements that want to support panning must override this property implementation and return true If a derived element returns true, the mouse is captured when the middle button is pressed. The virtual 'OnMousePanVertical' method will be called during the capture. Derived elements that want to support panning should override OnMousePanVertical, and perform scrolling operations from within that method (Inherited from Infragistics.Win.UIElement) | |
WantsMouseHoverNotification | Return true if this element wants to be notified when the mouse hovers over it. This property is read-only. (Inherited from Infragistics.Win.UIElement) |
Name | Description | |
---|---|---|
AdjustableElementFromPoint | Overloaded. Returns an element reference if the passed in point is over the AdjustableArea of this element (or any of its child elements) (Inherited from Infragistics.Win.UIElement) | |
AdjustRectForRightToLeft | Takes a rect and adjusts it for RightToLeft relative to this UIElement. (Inherited from Infragistics.Win.UIElement) | |
AdjustRectForZooming | Adjust the rectangle size and position based on the zoom factor of the ControlUIElement. (Inherited from Infragistics.Win.UIElement) | |
AdjustRegionToZoomFactor | Adjusts the region for the provided zoom factor (Inherited from Infragistics.Win.UIElement) | |
Contains | Overloaded. Checks if the point is over the element. This may be overridden in derived classes for specialized hit test logic. (Inherited from Infragistics.Win.UIElement) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
DirtyChildElements | Overloaded. Sets the dirty flag so that the next time the element is drawn it will reposition its child elements (Inherited from Infragistics.Win.UIElement) | |
Dispose | (Inherited from Infragistics.Shared.DisposableObject) | |
Draw | Overloaded. Draws the element. (Inherited from Infragistics.Win.UIElement) | |
DrawElement | Renders the element into the graphics object of the specified defaultDrawParams. This method will recursively invoke itself for rendering the descendant elements. (Inherited from Infragistics.Win.UIElement) | |
DrawToBitmap | Returns a bitmap into which the UIElement has been drawn. (Inherited from Infragistics.Win.UIElement) | |
ElementFromPoint | Overloaded. Returns the lowest level element that contains the passed in point (Inherited from Infragistics.Win.UIElement) | |
FireClickEvent | Triggers the ElementClick event | |
GetAdjustableCursor | The adjustable cursor is used by any element that can be moved or resized. Returning null means the element can not be adjusted by clicking on the passed in point. (Inherited from Infragistics.Win.UIElement) | |
GetAdjustmentRange | Returns the range limits for adjusting the element in either or both dimensions. It also returns the initial rects for the vertical and horizontal bars that will need to be inverted during the mouse drag operation. Default implementation sets everything to zero. (Inherited from Infragistics.Win.UIElement) | |
GetAncestor | Walks up the parent chain until it reaches the parent of the requested type. Also, if this element is of the passed in type then this elemnt will be returned. (Inherited from Infragistics.Win.UIElement) | |
GetBorderWidths | Returns the widths of all four borders (Inherited from Infragistics.Win.UIElement) | |
GetContext | Overloaded. Overridden. Returns an object of requested type that relates to the element or null. | |
GetDescendant | Overloaded. Returns an element of the requested type or null. (Inherited from Infragistics.Win.UIElement) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
GetLineCount | Returns the total number of lines of text in the element accounting for word wrapping. | |
GetLineNumber | Returns the index of the line that contains the specified character index in a multiline edit control. A character index is the zero-based index of the character from the beginning of the edit control. | |
HasAncestor | Returns true if the passed in element is in this elment's parent chain (Inherited from Infragistics.Win.UIElement) | |
HasContext | Overloaded. Returns true if this element (or any of its ancestors) has this context (Inherited from Infragistics.Win.UIElement) | |
HitTest | Retrieves the child accessible object at the specified screen coordinates. (Inherited from Infragistics.Win.UIElement) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
Invalidate | Overloaded. Invalidates this element (Inherited from Infragistics.Win.UIElement) | |
IsDescendantOf | Returns true if this element is the same as the specified element or if this element is a descendant of the specified element. (Inherited from Infragistics.Win.UIElement) | |
Navigate | Overloaded. Navigates to another accessible object (Inherited from Infragistics.Win.UIElement) | |
Offset | Overloaded. Offsets this element rect and all of its child elements (Inherited from Infragistics.Win.UIElement) | |
PointInAdjustableArea | Returns true if the passed in point is over an area of this element that would require the AdjustableCursor to be displayed (Inherited from Infragistics.Win.UIElement) | |
PointInElement | Overloaded. Checks if the point is over the element and is not over an overlapping sibling element. (Inherited from Infragistics.Win.UIElement) | |
Draws the element into a printer dc. (Inherited from Infragistics.Win.UIElement) | ||
VerifyChildElements | Overloaded. Called to ensure that all child elements are created and positioned properly. If the ChildElementsDirty flag is true then the PositionChildElements will be called and the dirty flag will be reset. This method gets called recursively for all descendant elements. (Inherited from Infragistics.Win.UIElement) | |
VerifyNotDisposed | (Inherited from Infragistics.Shared.DisposableObject) |
Name | Description | |
---|---|---|
AdjustTextDisplayRect | Called during draw so that the text rect can be adjusted. This may be needed, for example, with the text on a button that is pressed. In this case the text may be offset 1 pixel right and down. | |
ContinueDescendantSearch | This method is called from UIElement.GetDescendant as an optimization to prevent searching down element paths that can't possibly contain the element that is being searched for. (Inherited from Infragistics.Win.UIElement) | |
CreateUIAutomationProvider | Factory method which creates a UI Automation wrapper for the specified context. (Inherited from Infragistics.Win.UIElement) | |
DrawBackColor | Overridden. No background is drawn for a text element unless DrawsBackColor returns true | |
DrawBorders | Default border rendering (Inherited from Infragistics.Win.UIElement) | |
DrawChildElements | Default child element rendering - draws each of the child elements. (Inherited from Infragistics.Win.UIElement) | |
DrawFocus | Default drawfocus method draws a focus rect inside the element's borders (Inherited from Infragistics.Win.UIElement) | |
DrawForeground | Overridden. Render the text in the foreground | |
DrawImage | Default image rendering - does nothing (Inherited from Infragistics.Win.UIElement) | |
DrawImageBackground | Overridden. No background is drawn for a text element unless DrawsImageBackground returns true | |
DrawTheme | Used by an element to render using the system theme. This method will not be invoked if the themes are not supported. (Inherited from Infragistics.Win.UIElement) | |
GetUIRole | Helper method for obtaining a Infragistics.Win.AppStyling.UIRole for a particular role name. (Inherited from Infragistics.Win.UIElement) | |
InitAppearance | Initialize the appearance structure for this element (Inherited from Infragistics.Win.UIElement) | |
InternalCursorFromAppearance | Extracts the cursor from the appearance object this method is overridden by an element with a mousepointer set (Inherited from Infragistics.Win.UIElement) | |
InternalSetElementsChanged | Default implementation just walks up the parent chain. This is overriden by the ControlUIElementBase class which maintains a flag that some descendant element may have changed (Inherited from Infragistics.Win.UIElement) | |
IntersectInvalidRect | Returns the intersection of the element's rect with the invalid rect for the current draw operation. (Inherited from Infragistics.Win.UIElement) | |
MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) | |
OnAfterDraw | A virtual method that gets called after the element draw operation finishes. (Inherited from Infragistics.Win.UIElement) | |
OnBeforeDraw | A virtual method that gets called before the element draw process starts. (Inherited from Infragistics.Win.UIElement) | |
OnDispose | Called when element is disposed of. (Inherited from Infragistics.Win.UIElement) | |
OnMousePanCapture | Called when this element is captured to begin a mouse panning operation. (Inherited from Infragistics.Win.UIElement) | |
OnMousePanCaptureTerminated | Called when capture is released from this element to end a mouse panning operation. (Inherited from Infragistics.Win.UIElement) | |
OnMousePanHorizontal | Virtual method that is called each time the mouse pans horizontally Derived classes should override this method (Inherited from Infragistics.Win.UIElement) | |
OnMousePanVertical | Virtual method that is called each time the mouse pans vertically Derived classes should override this method (Inherited from Infragistics.Win.UIElement) | |
PositionChildElements | Makes sure that the child elements for this element are in the ChildElements array and that they are positioned properly. This needs to be overridden if the element has any child elements. (Inherited from Infragistics.Win.UIElement) | |
ResetCaptureFlags | clear the internal capture flags | |
SetParent | Sets the parent element (Inherited from Infragistics.Win.UIElement) | |
WantsInputNotification | Returns true if this ui element is interested in getting notificaions of type inputType at the specified location. Default implementation always returns true. (Inherited from Infragistics.Win.UIElement) |
Name | Description | |
---|---|---|
ElementClick | Fired when the button is clicked |