Share via


CreateOptions Enumeration

Specifies how to create a new item.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration CreateOptions
[FlagsAttribute]
public enum CreateOptions
[FlagsAttribute]
public enum class CreateOptions
[<FlagsAttribute>]
type CreateOptions
public enum CreateOptions

Members

Member name Description
None Just creates the object and does not perform any operations on it. This is the default.
InitializeDefaults Creates the item and specifies that the object should perform any default initialization. This flag is generally passed in when a new control or object is being created by a user.

Remarks

The CreateOptions flags are passed into the ModelFactory class to specify how to create a new item.

See Also

Reference

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility