WindowsUIView.AddTileWhenCreatingDocument Property
Gets or sets whether a corresponding Tile should be automatically generated each time a new Document is added to the current WindowsUIView.
Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI
Assembly: DevExpress.XtraBars.v19.1.dll
Declaration
[XtraSerializableProperty]
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AddTileWhenCreatingDocument { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | A DefaultBoolean enumerator value that specifies whether a Tile should be generated when a new Document is added. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Remarks
By default, each time you add a Document to a WindowsUIView, a new Tile is automatically generated. The generated Tile relates to the Document via the Tile.Document property. You can change this behavior by setting the AddTileWhenCreatingDocument property to false. In this case, adding a new Document will not result in automatic Tile generation.
This setting affects adding Documents through both code and the Designer.