ContextMenuService
ContextMenuClosingEvent
ContextMenuOpeningEvent
ContextMenuProperty
HasDropShadowProperty
HorizontalOffsetProperty
IsEnabledProperty
PlacementProperty
PlacementRectangleProperty
PlacementTargetProperty
ShowOnDisabledProperty
VerticalOffsetProperty
AddContextMenuClosingHandler(DependencyObject, ContextMenuEventHandler)
AddContextMenuOpeningHandler(DependencyObject, ContextMenuEventHandler)
GetContextMenu(DependencyObject)
GetHasDropShadow(DependencyObject)
GetHorizontalOffset(DependencyObject)
GetIsEnabled(DependencyObject)
GetPlacement(DependencyObject)
GetPlacementRectangle(DependencyObject)
GetPlacementTarget(DependencyObject)
GetShowOnDisabled(DependencyObject)
GetVerticalOffset(DependencyObject)
RemoveContextMenuClosingHandler(DependencyObject, ContextMenuEventHandler)
RemoveContextMenuOpeningHandler(DependencyObject, ContextMenuEventHandler)
SetContextMenu(DependencyObject, ContextMenu)
SetHasDropShadow(DependencyObject, Boolean)
SetHorizontalOffset(DependencyObject, Double)
SetIsEnabled(DependencyObject, Boolean)
SetPlacement(DependencyObject, PlacementMode)
SetPlacementRectangle(DependencyObject, Rect)
SetPlacementTarget(DependencyObject, UIElement)
SetShowOnDisabled(DependencyObject, Boolean)
SetVerticalOffset(DependencyObject, Double)
netcoreapp3.0
namespace System.Windows.Controls
{
public static class ContextMenuService
{
public static void SetHorizontalOffset(DependencyObject element, double value);
}
}
NetFx Compat Lab | 0.3 % Reference this API |
---|---|
.NET | 5.06.07.08.09.0 |
.NET Core | 3.03.1 |
.NET Framework | 3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to netcoreapp3.0 | |
Assembly | PresentationFramework , Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Requires all:
|
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API