Compartilhar via


PropertyPage Class

 

Creates a property page using a Windows Forms control.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.PropertyPage

Syntax

public class PropertyPage
public ref class PropertyPage 
type PropertyPage = class end
Public Class PropertyPage

Constructors

Name Description
System_CAPS_pubmethod PropertyPage()

Initializes a new instance of the PropertyPage class.

Properties

Name Description
System_CAPS_pubproperty Control

Gets or sets the control to be used in the property page.

System_CAPS_pubproperty Destroyed

Gets the flag that indicates destruction.

System_CAPS_pubproperty Dirty

Gets or sets the dirty flag for the property page.

System_CAPS_pubproperty HelpTopic

Gets or sets the help topic for the property page.

System_CAPS_pubproperty Initialized

Gets the initialization flag.

System_CAPS_pubproperty ParentSheet

Gets the owner of the property page.

System_CAPS_pubproperty Title

Gets or sets the title to use in the property page.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnApply()

Indicates that the user has clicked the Apply button and wants all changes to take effect. The OnApply method is invoked on every property sheet when the Apply button is clicked.

System_CAPS_protmethod OnCancel()

Indicates that the user has chosen Cancel and the property sheet is about to be destroyed. All changes that are made since the last Apply notification are canceled.

System_CAPS_protmethod OnDestroy()

Sends a notification that the property sheet is about to be destroyed. The property page can begin its cleanup operations when it receives this notification message.

System_CAPS_protmethod OnInitialize()

Sends an initialize notification for a property page. The default implementation is empty.

System_CAPS_protmethod OnKillActive()

Sends a notification that the property page is about to lose activation either because another page is being activated or because the user has clicked the OK button. The default implementation allows the property page to be de-activated.

System_CAPS_protmethod OnOK()

Indicates that the user has clicked either the OK button or the Close button. The OnOK method is invoked on every property page so that all changes can take effect.

System_CAPS_protmethod OnSetActive()

Sends a notification that the page is about to be activated.

System_CAPS_protmethod QueryCancel()

Indicates that the user wants to cancel the property sheet. The default implementation allows the Cancel operation.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ManagementConsole Namespace

Return to top