'Declaration Public Event DesignerTabChanged As DesignerTabChangedEventHandler
public event DesignerTabChangedEventHandler DesignerTabChanged
Event Data
The event handler receives an argument of type DesignerTabChangedEventArgs containing data related to this event. The following DesignerTabChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ActiveTab | Gets the DesignerTab enumeration that indicates what tab is currently active. |
Remarks
This event is fired when the user switches between different tabs in the designer interface, such as moving from the "Design" tab to the "Preview" tab. It allows for the execution of custom logic in response to this change, such as updating UI elements or performing cleanup tasks related to the tab change.
Event handlers can use this event to adapt the application's behavior to the newly active designer tab, enhancing the user experience and ensuring the application remains responsive to user actions.
See Also