Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CommandManager.RequerySuggested Event

Definition

Namespace:
System.Windows.Input
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 static event EventHandler ^ RequerySuggested;
public static event EventHandler RequerySuggested;
member this.RequerySuggested : EventHandler 
Public Shared Custom Event RequerySuggested As EventHandler 

Event Type

Remarks

This event holds 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.

Applies to


Feedback

Was this page helpful?