Version

UIElement Class Properties

For a list of all members of this type, see UIElement members.

Public Properties
 NameDescription
Public PropertyAccessibilityInstanceReturns the accessible object associated with the element.  
Public PropertyAccessibilityInstanceResolvedReturns the accessible object associated with this element or one of its parent elements.  
Public PropertyAdjustableReturns true is this element can be moved or resized by the user  
Public PropertyAreTouchMetricsEnabledReturns whether Touch mode is currently enabled on this control.  
Public PropertyBorderSidesReturns flags indicating which borders will be drawn  
Public PropertyBorderStyleBorderStyle of the element. UIElementBorderStyle  
Public PropertyCancelCaptureOnEscapeIndicates if capture for this element should be terminated if the escape key is pressed.  
Public PropertyChildElementsReturns the child elements array (read-only)  
Public PropertyChildElementsDirtyTrue indicates that the child elements need to be created/adjusted on the next draw operation (read-only)  
Public PropertyClipRectReturns the intersection of this element's rect's with all of its parent element's rects  
Public PropertyControlWalks up the parent chain until it reaches a Control element (which overrides this method)  
Public PropertyControlElementReturns the top level/control element. Read-only.  
Public PropertyCursorReturns 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  
Public PropertyDisposed (Inherited from Infragistics.Shared.DisposableObject)
Public PropertyDrawingClipRectReturns 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.  
Public PropertyDrawingRectReturns 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.  
Public PropertyDrawingRectInsideBordersReturns 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.  
Public PropertyDrawingRegionReturns 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.  
Public PropertyEnabledGets/sets whether this element is enabled. Note: this will return false the element or any of its ancestors are disabled.  
Public PropertyHasChildElementsReturns true if there are any child elements (read-only)  
Public PropertyIsAccessibleElementIndicates if the element supports accessibility.  
Public PropertyIsDrawingTrue if this element is in a drawing operation (read-only).  
Public PropertyIsElementDrawnTrue 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)  
Public PropertyIsFullyVisibleReturns true if the entire elment is visible or false if any part is clipped  
Public PropertyIsUiaDelegatingElementIndicates that this element supports UI Automation, but only as an invisible delegate that does not display in the UIAutomation tree.  
Public PropertyIsUiaElementIndicates if the element supports UI Automation.  
Public PropertyNestDepthThe nesting depth, 0 for top level control elements, 1 for their direct child elements, 2 for those element's child elements etc. (read-only)  
Public PropertyParentThe parent/containing element (will be null for a top level/control element).  
Public PropertyParentIsRightToLeftReturns whether this element is contained within an element that is RightToLeft.  
Public PropertyPathSpecifies a GraphicsPath to use for drawing the Background, Borders, or ImageBackground of the UIElement.  
Public PropertyRectThe element's bounding rectangle in client coordinates  
Public PropertyRectInsideBordersReturns the rectangle after adjusting for any borders  
Public PropertyRegionReturns 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  
Public PropertyRightToLeftGets a value indicating whether elements are aligned to support locales using right-to-left fonts.  
Public PropertyRightToLeftResolvedReturns the resolved RightToLeft state of the element.  
Public PropertySelectableItemIf 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  
Public PropertyThemedElementRegionReturns the region of this element that themed drawing should be clipped to. The default implementation returns null.  
Public PropertyToolTipItemReturns or sets an object that provides tooltip information for the element.  
Public PropertyUIAutomationProviderReturns a UIAutomation provider for this UIElement.  
Public PropertyUIRoleReturns the Infragistics.Win.AppStyling.UIRole associated with this element.  
Public PropertyUIRoleResolvedReturns the Infragistics.Win.AppStyling.UIRole used by this element or an element higher up the parent chain.  
Protected Properties
 NameDescription
Protected PropertyChildElementArrayCapacityReturns the expected number of child elements for this element  
Protected PropertyClipChildrenReturning true causes all drawing of this element's child elements to be expicitly clipped to the area inside this elements borders  
Protected PropertyClipRectChildrenReturns the rect inside borders as the default  
Protected PropertyClipSelfReturning true causes all drawing of this element to be expicitly clipped to its region  
Protected PropertyDelegateMousePanningToParentReturns the element which handles mouse panning for this element.  
Protected PropertyDrawsFocusRectReturns true if this element needs to draw a focus rect. This should be overridden since the default implementation always returns false.  
Protected PropertyForceDrawsFocusRectReturns a boolean value indicating whether this element's focus rectangle drawing logic should ignore the associated control's focused state.  
Protected PropertyHasCaptureIndicates if the element has capture.  
Protected PropertyInkProviderReturns the InkProvider registered for our control's container.  
Protected PropertyNotificationBadgeProviderIf the element can show Notification Badges it will return its provider.  
Protected PropertyPrimaryContextUsed 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.  
Protected PropertySupportsHorizontalMousePanningGets 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  
Protected PropertySupportsVerticalMousePanningGets 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  
Protected PropertyWantsMouseHoverNotificationReturn true if this element wants to be notified when the mouse hovers over it. This property is read-only.  
See Also

Reference

UIElement Class
Infragistics.Win Namespace
Infragistics.Shared.DisposableObject