Export (0) Print
Expand All

CommandManager.RequerySuggested Event

Occurs when the CommandManager detects conditions that might change the ability of a command to execute.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static event EventHandler RequerySuggested

Since this event is static, it will only hold onto the handler as a weak reference. Objects that listen for this event should keep a strong reference to their event handler to avoid it being garbage collected. This can be accomplished by having a private field and assigning the handler as the value before or after attaching to this event.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft