Version

ButtonUIElementBase Class Methods

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

Public Methods
 NameDescription
Public MethodAdjustableElementFromPointOverloaded. 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)
Public MethodAdjustRectForRightToLeftTakes a rect and adjusts it for RightToLeft relative to this UIElement. (Inherited from Infragistics.Win.UIElement)
Public MethodAdjustRectForZoomingAdjust the rectangle size and position based on the zoom factor of the ControlUIElement. (Inherited from Infragistics.Win.UIElement)
Public MethodAdjustRegionToZoomFactorAdjusts the region for the provided zoom factor (Inherited from Infragistics.Win.UIElement)
Public MethodContainsOverloaded. Overridden. Checks if the point is over the element. This may be overridden in derived classes for specialized hit test logic.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDirtyChildElementsOverloaded. Sets the dirty flag so that the next time the element is drawn it will reposition its child elements (Inherited from Infragistics.Win.UIElement)
Public MethodDispose (Inherited from Infragistics.Shared.DisposableObject)
Public MethodDrawOverloaded. Draws the element. (Inherited from Infragistics.Win.UIElement)
Public MethodDrawElementRenders 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)
Public MethodDrawToBitmapReturns a bitmap into which the UIElement has been drawn. (Inherited from Infragistics.Win.UIElement)
Public MethodElementFromPointOverloaded. Returns the lowest level element that contains the passed in point (Inherited from Infragistics.Win.UIElement)
Public MethodFireClickEventTriggers the ElementClick event  
Public MethodGetAdjustableCursorThe 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)
Public MethodGetAdjustmentRangeReturns 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)
Public MethodGetAncestorWalks 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)
Public MethodGetBorderWidthsOverridden. Returns the widths of all four borders  
Public MethodGetContextOverloaded. Returns the primary context object. (Inherited from Infragistics.Win.UIElement)
Public MethodGetDescendantOverloaded. Returns an element of the requested type or null. (Inherited from Infragistics.Win.UIElement)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodHasAncestorReturns true if the passed in element is in this elment's parent chain (Inherited from Infragistics.Win.UIElement)
Public MethodHasContextOverloaded. Returns true if this element (or any of its ancestors) has this context (Inherited from Infragistics.Win.UIElement)
Public MethodHitTestRetrieves the child accessible object at the specified screen coordinates. (Inherited from Infragistics.Win.UIElement)
Public MethodInitializeCheckStateOverloaded. Initializes the check state of the state button.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodInvalidateOverloaded. Invalidates this element (Inherited from Infragistics.Win.UIElement)
Public MethodIsDescendantOfReturns 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)
Public MethodNavigateOverloaded. Navigates to another accessible object (Inherited from Infragistics.Win.UIElement)
Public MethodOffsetOverloaded. Offsets this element rect and all of its child elements (Inherited from Infragistics.Win.UIElement)
Public MethodPerformClickPerforms a button click.  
Public MethodPointInAdjustableAreaReturns 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)
Public MethodPointInElementOverloaded. Checks if the point is over the element and is not over an overlapping sibling element. (Inherited from Infragistics.Win.UIElement)
Public MethodPrintDraws the element into a printer dc. (Inherited from Infragistics.Win.UIElement)
Public Methodstatic (Shared in Visual Basic)ResolveOffice2007RibbonButtonAppearanceOverloaded. Resolves the appearance data of a button for Office2007 Ribbon button style.  
Public Methodstatic (Shared in Visual Basic)ResolveOffice2010ButtonAppearanceOverloaded. Resolves the appearance data of a button for Office 2010 button style.  
Public Methodstatic (Shared in Visual Basic)ResolveOffice2013ButtonAppearanceOverloaded. Resolves the appearance data of a button for Office 2013 button style.  
Public Methodstatic (Shared in Visual Basic)ResolveScenicRibbonButtonAppearanceOverloaded. Resolves the appearance data of a button for Scenic Ribbon button style.  
Public Methodstatic (Shared in Visual Basic)ResolveWindowsVistaButtonAppearanceResolves the appearance data of a button for Office2007 Ribbon button style.  
Public Methodstatic (Shared in Visual Basic)ResolveWindowsXPCommandButtonAppearanceSets the appearance data needed for the element to have the WindowsXPCommand button look. Provides default values for BackColor, BackColor2, BackGradientStyle, and BorderColor3DBase. BorderColor is set here if the mouse is over the element.  
Public MethodToggleCheckStateChanges the check state of the button to the next value.  
Public MethodVerifyChildElementsOverloaded. 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)
Public MethodVerifyNotDisposed (Inherited from Infragistics.Shared.DisposableObject)
Protected Methods
 NameDescription
Protected MethodButtonClickInvoked when the button has been clicked.  
Protected MethodContinueDescendantSearchThis 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)
Protected MethodCreateUIAutomationProviderFactory method which creates a UI Automation wrapper for the specified context. (Inherited from Infragistics.Win.UIElement)
Protected MethodDrawBackColorOverridden. Renders the backcolor for the element.  
Protected MethodDrawBordersOverridden. Draws the button borders  
Protected MethodDrawChildElementsDefault child element rendering - draws each of the child elements. (Inherited from Infragistics.Win.UIElement)
Protected MethodDrawFocusDefault drawfocus method draws a focus rect inside the element's borders (Inherited from Infragistics.Win.UIElement)
Protected MethodDrawForegroundDefault foreground rendering - does nothing (Inherited from Infragistics.Win.UIElement)
Protected MethodDrawImageDefault image rendering - does nothing (Inherited from Infragistics.Win.UIElement)
Protected MethodDrawImageBackgroundDefault background picture drawing (Inherited from Infragistics.Win.UIElement)
Protected MethodDrawThemeOverridden. Renders the state button using the System theme.  
Protected MethodGetUIRoleHelper method for obtaining a Infragistics.Win.AppStyling.UIRole for a particular role name. (Inherited from Infragistics.Win.UIElement)
Protected MethodInitAppearanceOverridden. Merges the appearance object into the passed in structure  
Protected MethodInitControlAppearanceResolves the control specific appearances for this button. Default implementation merges in its Appearance. This method should only merge in the appearance properties exposed by the controls. It should not merge in any defaults. The InitAppearance method calls this method in between the calls that resolve app-style appearance settings. In other words this method should itself not resolve any app-style appearance settings. Also note that the InitAppearance method will check UseControlInfo setting of the app-style and if it's false it will not call this method. Therefore the overridden implementations do no need to check for UseControlInfo app-style setting.  
Protected MethodInitializeDefaultAppearanceInvoked during the InitAppearance to resolve any remaining appearance values after the style specific appearance information has been initialized.  
Protected MethodInternalCursorFromAppearanceExtracts the cursor from the appearance object this method is overridden by an element with a mousepointer set (Inherited from Infragistics.Win.UIElement)
Protected MethodInternalSetElementsChangedDefault 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)
Protected MethodIntersectInvalidRectReturns the intersection of the element's rect with the invalid rect for the current draw operation. (Inherited from Infragistics.Win.UIElement)
Protected MethodInvalidateBtnStateAreaInvalidates the area of the element that needs to be redrawn when the button's state changes. For a command button this is the entire element but for a checkbox or radio button it is just the indicator  
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnAfterDrawA virtual method that gets called after the element draw operation finishes. (Inherited from Infragistics.Win.UIElement)
Protected MethodOnBeforeDrawA virtual method that gets called before the element draw process starts. (Inherited from Infragistics.Win.UIElement)
Protected MethodOnButtonStateChangeInvoked when the state of the button changes.  
Protected MethodOnCheckStateChangeInvoked when the checked state of the button changes other than when it is initialized.  
Protected MethodOnControlFocusCalled to give control focus  
Protected MethodOnDisposeCalled when element is disposed of. (Inherited from Infragistics.Win.UIElement)
Protected MethodOnMousePanCaptureCalled when this element is captured to begin a mouse panning operation. (Inherited from Infragistics.Win.UIElement)
Protected MethodOnMousePanCaptureTerminatedCalled when capture is released from this element to end a mouse panning operation. (Inherited from Infragistics.Win.UIElement)
Protected MethodOnMousePanHorizontalVirtual method that is called each time the mouse pans horizontally Derived classes should override this method (Inherited from Infragistics.Win.UIElement)
Protected MethodOnMousePanVerticalVirtual method that is called each time the mouse pans vertically Derived classes should override this method (Inherited from Infragistics.Win.UIElement)
Protected MethodPositionChildElementsMakes 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)
Protected MethodResetButtonStateResets the button state and checks if the mouse is currently over the element.  
Protected MethodResetCaptureFlagsclear the internal flags and invalidate  
Protected MethodSetParentSets the parent element (Inherited from Infragistics.Win.UIElement)
Protected MethodVerifyMouseOverButtonChecks if the mouse is over the button and updates the ButtonState. If the state differs from that before the check is made, the element is invalidated.  
Protected MethodWantsInputNotificationReturns 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)
See Also