SelectionData.ShowPropertySheet Method (String, Boolean)

 

This method displays a property sheet for the selection and uses a parameter that decides whether the Apply button is to be hidden. This method brings an existing sheet to the foreground.

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

Syntax

public bool ShowPropertySheet(
    string title,
    bool hideApplyButton
)
public:
bool ShowPropertySheet(
    String^ title,
    bool hideApplyButton
)
member ShowPropertySheet : 
        title:string *
        hideApplyButton:bool -> bool
Public Function ShowPropertySheet (
    title As String,
    hideApplyButton As Boolean
) As Boolean

Parameters

  • hideApplyButton
    Type: System.Boolean

    True if the Apply button should be hidden; false if the Apply button should be displayed.

Return Value

Type: System.Boolean

True if the property sheet gets displayed; false if the property sheet was already up.

Remarks

If there is a property sheet that has already been created, a new one is not created. For details please see Update.

See Also

ShowPropertySheet Overload
SelectionData Class
Microsoft.ManagementConsole Namespace

Return to top