Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CreateParams Property

Gets the required creation parameters when the wizard page is created.

Namespace:  Microsoft.Web.Management.Client.Win32
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

protected override CreateParams CreateParams { get; }

Property Value

Type: CreateParams
A CreateParams object that contains the required creation parameters when the wizard page is created.

You should use the CreateParams property to encapsulate the information needed when you create the wizard page. You can use the CreateParams property to pass information about the initial state and appearance of a page. This property enables you to create a custom CreateParams object.

The following example implements this property. The CreateParamsExStyle()()()() property is a bitwise combination of extended window style values to apply to the page.

protected override CreateParams CreateParams {
    get {
        const int WS_EX_LAYOUTRTL = 0x400000;
        const int WS_EX_NOINHERITLAYOUT = 0x100000;

        CreateParams CP;
        CP = base.CreateParams;
        if (RightToLeftLayout) {
            CP.ExStyle = CP.ExStyle | 
                WS_EX_LAYOUTRTL | 
                WS_EX_NOINHERITLAYOUT;
        }
        return CP;
    }
}


Community Additions

ADD
Show:
© 2015 Microsoft