public sealed class ContextMenu : Behavior<UIElement>
Public NotInheritable Class ContextMenu
Inherits Behavior(Of UIElement)
public ref class ContextMenu sealed : public Behavior<UIElement^>
[<SealedAttribute>]
type ContextMenu =
class
inherit Behavior<UIElement>
end
ContextMenu | Инициализирует новый экземпляр класса ContextMenu |
AssociatedObject | (Унаследован от BehaviorT) |
CanFreeze | Gets a value that indicates whether the object can be made unmodifiable. (Унаследован от Freezable) |
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Унаследован от DependencyObject) |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Унаследован от DispatcherObject) |
HandledEventsToo | |
HandleEvents | Признак того, что для событий нажатия правой кнопки мыши свойство Handled будет установленным равным true, если контекстное меню будет открыто. По умолчанию значение равно true. |
IsFrozen | Gets a value that indicates whether the object is currently modifiable. (Унаследован от Freezable) |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Унаследован от DependencyObject) |
MinWidth | Минимальная ширина меню |
PlacementTargetType | Тип для PlacementTarget. |
ShowAsync | Признак того, что контекстное меню отображается асинхронно после того, как закончится обработка нажатия правой кнопки мыши. Рекомендуется устанавливать значение равным true, если также установлено значение HandleEvents равным true. По умолчанию значение равно false. |
ShowMenuEvent | Событие, по которому отображается меню |
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Унаследован от DispatcherObject) |
ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Унаследован от DependencyObject) |
ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Унаследован от DependencyObject) |
Clone | Creates a modifiable clone of the Freezable, making deep copies of the object's values. When copying the object's dependency properties, this method copies expressions (which might no longer resolve) but not animations or their current values. (Унаследован от Freezable) |
CloneCore | (Переопределяет FreezableCloneCore(Freezable)) |
CloneCurrentValue | Creates a modifiable clone (deep copy) of the Freezable using its current values. (Унаследован от Freezable) |
CloneCurrentValueCore | (Переопределяет FreezableCloneCurrentValueCore(Freezable)) |
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Унаследован от DependencyObject) |
CreateInstance | Initializes a new instance of the Freezable class. (Унаследован от Freezable) |
CreateInstanceCore | (Переопределяет FreezableCreateInstanceCore) |
Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Унаследован от DependencyObject) |
Freeze | Makes the current object unmodifiable and sets its IsFrozen property to . (Унаследован от Freezable) |
FreezeCore | Makes the Freezable object unmodifiable or tests whether it can be made unmodifiable. (Унаследован от Freezable) |
GetAsFrozen | Creates a frozen copy of the Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Унаследован от Freezable) |
GetAsFrozenCore | (Переопределяет FreezableGetAsFrozenCore(Freezable)) |
GetCurrentValueAsFrozen | Creates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Унаследован от Freezable) |
GetCurrentValueAsFrozenCore | (Переопределяет FreezableGetCurrentValueAsFrozenCore(Freezable)) |
GetHashCode | Gets a hash code for this DependencyObject. (Унаследован от DependencyObject) |
GetItemContainerStyle | |
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Унаследован от DependencyObject) |
GetPlacementMode | |
GetRequiredType | (Унаследован от BehaviorT) |
GetRequiredTypeCount | (Унаследован от BehaviorT) |
GetStyle | |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Унаследован от DependencyObject) |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property. (Унаследован от DependencyObject) |
OnAttached | (Переопределяет BehaviorOnAttached) |
OnChanged | Called when the current Freezable object is modified. (Унаследован от Freezable) |
OnDetaching | (Переопределяет BehaviorOnDetaching) |
OnFreezablePropertyChanged(DependencyObject, DependencyObject) | Ensures that appropriate context pointers are established for a DependencyObjectType data member that has just been set. (Унаследован от Freezable) |
OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) | This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Унаследован от Freezable) |
OnPropertyChanged | Overrides the DependencyObject implementation of OnPropertyChanged(DependencyPropertyChangedEventArgs) to also invoke any Changed handlers in response to a changing dependency property of type Freezable. (Унаследован от Freezable) |
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Унаследован от DependencyObject) |
ReadPreamble | Ensures that the Freezable is being accessed from a valid thread. Inheritors of Freezable must call this method at the beginning of any API that reads data members that are not dependency properties. (Унаследован от Freezable) |
SetCurrentValue | Sets the value of a dependency property without changing its value source. (Унаследован от DependencyObject) |
SetItemContainerStyle | |
SetPlacementMode | |
SetStyle | |
SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Унаследован от DependencyObject) |
SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Унаследован от DependencyObject) |
ShouldSerializeProperty | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Унаследован от DependencyObject) |
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Унаследован от DispatcherObject) |
WritePostscript | Raises the Changed event for the Freezable and invokes its OnChanged method. Classes that derive from Freezable should call this method at the end of any API that modifies class members that are not stored as dependency properties. (Унаследован от Freezable) |
WritePreamble | Verifies that the Freezable is not frozen and that it is being accessed from a valid threading context. Freezable inheritors should call this method at the beginning of any API that writes to data members that are not dependency properties. (Унаследован от Freezable) |
Changed | Occurs when the Freezable or an object it contains is modified. (Унаследован от Freezable) |
ItemContainerStyleProperty | Стиль элементов контекстного меню или null, если используется стиль по умолчанию. |
PlacementModeProperty | |
StyleProperty | Стиль контекстного меню или null, если используется стиль по умолчанию. |
ItemContainerStyle | Стиль элементов контекстного меню или null, если используется стиль по умолчанию. |
PlacementMode | |
Style | Стиль контекстного меню или null, если используется стиль по умолчанию. |