Method | Description | |
---|---|---|
AsyncSetFocusAndCapture ( UIElement element, Func |
||
Beep ( ) : void |
Produces default system beep.
|
|
CalculateVisibleBoundingRect ( UIElement element ) : |
Calculates the real visible rectangle within parent chain, borrowed from 4.0 IsOffScreen fix for UIA.
|
|
CoerceRibbonToolTip ( |
Helper method which serves as the coercion callback for ToolTip property of ribbon controls. It creates and updates a RibbonToolTip if needed and if possible and returns that as the coerced value.
|
|
DelayCoerceProperty ( |
Helper method to coerce the given property of the element at input priority.
|
|
FindAccessKeyMarker ( string text ) : int | ||
FixMeasureInvalidationPaths ( |
Recursively patches the measure invalidation across the descendant paths
|
|
Focus ( |
||
GetContainingUIElement ( |
Returns the first UIElement in the ancestral chain including the element itself.
|
|
GetCultureInfo ( |
||
GetIsContentTooltip ( |
Determines whether a ToolTip is available on the first Visual child of a FrameworkElement.
|
|
GetPresentationSourceFromVisual ( Visual visual ) : System.Windows.PresentationSource | ||
GetValueAndValueSource ( |
||
HandleIsDropDownChanged ( UIElement element, Func |
||
HandleLostMouseCapture ( UIElement element, System.Windows.Input.MouseEventArgs e, Func |
||
IgnoreDPInheritedFromParentItemsControl ( |
This is an helper function to overcome the restriction on WPF framework to have hetrogenious hierarchy ItemsControl. The problem is an ItemsControl in it's internal logic fetches Item related properties from it's parent if that is an ItemsControl. That approach can only be successful only in homogenous hierarchy of controls from first layer as in case of TreeViewItem. In Ribbon control it is not true at various places and most common example could RibbonGalleryCategory. RibbonGalleryCategory's parent is RibbonGallery which is an ItemsControl and hence the above explained fetch happens. But the property specified on RibbonGallery are applicable to RibbonGalleryCategory only. Now, RibbonGalleryCategory's Item are not RibbonGalleryCategory but RibbonGalleryItem and hence a conflict. This function gets called from PrepareContainerOverride after the base.PrepareContainerOverride is being called and if the properties being fetched from the parent (changed) it sets them back to original values passed as arguments.
|
|
InitializeStarLayoutManager ( |
||
IsCaptureInSubtree ( UIElement element ) : bool | ||
IsCaptureInVisualSubtree ( UIElement element ) : bool | ||
IsISupportStarLayout ( |
||
IsMousePhysicallyOver ( UIElement element ) : bool | ||
IsOurWindow ( |
Helper method which determines if given hwnd belongs to the same Dispatcher as that of given element.
|
|
MoveFocus ( FocusNavigationDirection direction ) : bool | ||
OnApplicationMenuItemUpDownKeyDown ( KeyEventArgs e, |
||
OnRibbonToolTipPropertyChanged ( |
Helper method which serves as the property changed callback for properties which impact ToolTip (like ToolTipTitle etc.). It calls the coercion on ToolTip property.
|
|
OpenParentRibbonGroupDropDownSync ( |
||
PredictFocus ( |
||
RestoreFocusAndCapture ( UIElement targetCapture, UIElement targetFocus ) : void | ||
SetContentAsToolTip ( |
Sets ToolTip on the first Visual child of a FrameworkElement.
|
|
SetDefaultQatKeyTipPlacement ( ActivatingKeyTipEventArgs e ) : void | ||
SetDropDownHeight ( |
||
SetKeyTipPlacementForButton ( |
Helper method to determine the keytip position for RibbonButton, RibbonToggleButton, RibbonMenuButton, and RibbonRadioButton.
|
|
SetKeyTipPlacementForSplitButtonDropDown ( Microsoft.Windows.Controls.Ribbon.RibbonSplitButton splitButton, ActivatingKeyTipEventArgs e, UIElement mediumPlacementTarget ) : void | ||
SetKeyTipPlacementForSplitButtonHeader ( Microsoft.Windows.Controls.Ribbon.RibbonSplitButton splitButton, ActivatingKeyTipEventArgs e, UIElement mediumPlacementTarget ) : void | ||
SetKeyTipPlacementForTextBox ( |
Helper method which determines the keytip position for RibbonTextBox, RibbonCheckBox and RibbonComboBox.
|
|
TryGetChild ( this popup ) : UIElement |
Method | Description | |
---|---|---|
AddHandler ( |
||
ClearPseudoInheritedProperties ( |
||
CoerceIsSubmenuOpenForTopLevelItem ( |
||
CreateClone ( object original ) : object | ||
CreateClone ( object original, bool allowTransformations ) : object | ||
CreateInstance ( |
||
CreatePeer ( UIElement element ) : System.Windows.Automation.Peers.AutomationPeer | ||
DisableFocusVisual ( |
||
EnableFocusVisual ( |
||
ExistsInQAT ( |
Determines whether or not an item exists in the QAT.
|
|
FindAndHookPopup ( |
||
FindContainer ( |
||
GetTransformToDevice ( Visual targetVisual ) : Matrix | ||
HandleClickThrough ( object sender, System.Windows.Input.MouseButtonEventArgs e, UIElement alternateCaptureHost ) : void | ||
HandleDismissPopup ( |
||
HandleDropDownKeyDown ( object sender, KeyEventArgs e, Func |
||
HookPopupForTopLevelMenuItem ( |
||
InvalidateScrollBarVisibility ( |
||
IsAncestorOf ( |
||
IsContainerFocusable ( |
||
IsContainerVisible ( |
||
IsEndFocusableMenuItem ( |
Helper method to determine if the given menu item is the first / last focusable item of its parent.
|
|
IsKeyboardMostRecentInputDevice ( ) : bool | ||
IsMenuItemFocusable ( |
||
NavigateAndHighlightGalleryItem ( |
||
NavigateDownToGallery ( |
||
NavigatePageAndHighlightRibbonGalleryItem ( |
||
NavigatePageAndHighlightRibbonGalleryItem ( |
||
NavigateToFirstItem ( |
||
NavigateToItem ( |
||
NavigateToLastItem ( |
||
NavigateToNextMenuItemOrGallery ( |
||
NavigateToPreviousMenuItemOrGallery ( |
||
NavigateUpToGallery ( |
||
OnCanAddToQuickAccessToolBarDirectlyChanged ( |
||
OnCoerceCanAddToQuickAccessToolBarDirectly ( |
||
OnCoerceContextMenu ( |
||
OnCoerceQuickAccessToolBarId ( |
||
OnCommandChanged ( |
||
OnContextMenuChanged ( |
||
OnIsInQATChanged ( |
||
OnPopupOpenedOrClosed ( object sender, |
||
PopulatePropertyLists ( ) : void | ||
ReacquireCapture ( UIElement targetCapture, UIElement targetFocus ) : void | ||
RemoveHandler ( |
||
RestoreValue ( |
||
SetApplicationMenuLevel ( bool parentIsTopLevel, |
||
TransferItems ( |
||
TransferMarkupProperties ( object original, object clone ) : void | ||
TransferProperties ( |
||
TransferProperties ( |
||
TransferProperty ( UIElement original, UIElement clone, |
||
TransferProperty ( UIElement original, UIElement clone, |
||
TransferPseudoInheritedProperties ( |
||
UnhookPopupForTopLevelMenuItem ( |
||
UpdatePopupAnimation ( System.Windows.Controls.Primitives.Popup popup ) : void | ||
WrapClone ( |
public static AsyncSetFocusAndCapture ( UIElement element, Func |
||
element | UIElement | |
getter | Func |
|
targetCapture | UIElement | |
targetFocus | UIElement | |
return | void |
public static CalculateVisibleBoundingRect ( UIElement element ) : |
||
element | UIElement | |
return |
public static CoerceRibbonToolTip ( |
||
d | ||
value | object | |
return | object |
public static DelayCoerceProperty ( |
||
element | ||
property | ||
return | void |
public static FindAccessKeyMarker ( string text ) : int | ||
text | string | |
return | int |
public static FixMeasureInvalidationPaths ( |
||
element | ||
return | bool |
public static Focus ( |
||
element | ||
return | bool |
public static GetContainingUIElement ( |
||
element | ||
return | UIElement |
public static GetCultureInfo ( |
||
element | ||
return |
public static GetIsContentTooltip ( |
||
visualChild | First visual child of control | |
content | object | Content to be set as ToolTip |
return | bool |
public static GetPresentationSourceFromVisual ( Visual visual ) : System.Windows.PresentationSource | ||
visual | Visual | |
return | System.Windows.PresentationSource |
public static GetValueAndValueSource ( |
||
d | ||
property | ||
return | ValueAndValueSource |
public static HandleIsDropDownChanged ( UIElement element, Func |
||
element | UIElement | |
getter | Func |
|
targetCapture | UIElement | |
targetFocus | UIElement | |
return | void |
public static HandleLostMouseCapture ( UIElement element, System.Windows.Input.MouseEventArgs e, Func |
||
element | UIElement | |
e | System.Windows.Input.MouseEventArgs | |
getter | Func |
|
setter | Action |
|
targetCapture | UIElement | |
targetFocus | UIElement | |
return | void |
public static IgnoreDPInheritedFromParentItemsControl ( |
||
itemsControl | current ItemsControl | |
parentItemsControl | ||
itemTemplate | ValueAndValueSource | |
itemTemplateSelector | ValueAndValueSource | |
itemStringFormat | ValueAndValueSource | |
itemContainerStyle | ValueAndValueSource | |
itemContainerStyleSelector | ValueAndValueSource | |
alternationCount | ValueAndValueSource | |
itemBindingGroup | ValueAndValueSource | |
headerTemplate | ValueAndValueSource | |
headerTemplateSelector | ValueAndValueSource | |
headerStringFormat | ValueAndValueSource | |
return | void |
public static InitializeStarLayoutManager ( |
||
starLayoutProvider | ||
return | void |
public static IsCaptureInSubtree ( UIElement element ) : bool | ||
element | UIElement | |
return | bool |
public static IsCaptureInVisualSubtree ( UIElement element ) : bool | ||
element | UIElement | |
return | bool |
public static IsISupportStarLayout ( |
||
d | ||
return | bool |
public static IsMousePhysicallyOver ( UIElement element ) : bool | ||
element | UIElement | |
return | bool |
public static IsOurWindow ( |
||
hwnd | ||
element | ||
return | bool |
public static MoveFocus ( FocusNavigationDirection direction ) : bool | ||
direction | FocusNavigationDirection | |
return | bool |
public static OnApplicationMenuItemUpDownKeyDown ( KeyEventArgs e, |
||
e | KeyEventArgs | |
menuItem | ||
return | void |
public static OnRibbonToolTipPropertyChanged ( |
||
d | ||
e | System.Windows.DependencyPropertyChangedEventArgs | |
return | void |
public static OpenParentRibbonGroupDropDownSync ( |
||
fe | ||
templateApplied | bool | |
return | void |
public static PredictFocus ( |
||
element | ||
direction | FocusNavigationDirection | |
return |
public static RestoreFocusAndCapture ( UIElement targetCapture, UIElement targetFocus ) : void | ||
targetCapture | UIElement | |
targetFocus | UIElement | |
return | void |
public static SetContentAsToolTip ( |
||
element | ||
visualChild | First visual child of control | |
content | object | content to be set as ToolTip |
value | bool | Set or Unset ToolTip |
return | void |
public static SetDefaultQatKeyTipPlacement ( ActivatingKeyTipEventArgs e ) : void | ||
e | ActivatingKeyTipEventArgs | |
return | void |
public static SetDropDownHeight ( |
||
itemsPresenter | ||
hasGallery | bool | |
dropDownHeight | double | |
return | void |
public static SetKeyTipPlacementForButton ( |
||
element | ||
e | ActivatingKeyTipEventArgs | |
mediumPlacementTarget | UIElement | |
return | void |
public static SetKeyTipPlacementForSplitButtonDropDown ( Microsoft.Windows.Controls.Ribbon.RibbonSplitButton splitButton, ActivatingKeyTipEventArgs e, UIElement mediumPlacementTarget ) : void | ||
splitButton | Microsoft.Windows.Controls.Ribbon.RibbonSplitButton | |
e | ActivatingKeyTipEventArgs | |
mediumPlacementTarget | UIElement | |
return | void |
public static SetKeyTipPlacementForSplitButtonHeader ( Microsoft.Windows.Controls.Ribbon.RibbonSplitButton splitButton, ActivatingKeyTipEventArgs e, UIElement mediumPlacementTarget ) : void | ||
splitButton | Microsoft.Windows.Controls.Ribbon.RibbonSplitButton | |
e | ActivatingKeyTipEventArgs | |
mediumPlacementTarget | UIElement | |
return | void |
public static SetKeyTipPlacementForTextBox ( |
||
element | ||
e | ActivatingKeyTipEventArgs | |
nonLargePlacementTarget | UIElement | |
return | void |
public static TryGetChild ( this popup ) : UIElement | ||
popup | this | |
return | UIElement |