Xceed DataGrid for WPF v7.2 Documentation
AllowNew Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridCollectionView Class : AllowNew Property
Gets a value indicating whether new items can be added to the collection through the AddNew method.
Syntax
'Declaration
 
Public ReadOnly Property AllowNew As Boolean
'Usage
 
Dim instance As DataGridCollectionView

Dim value As Boolean

 

value = instance.AllowNew
public bool AllowNew {get;}

Property Value

true if the AddNew method can be used to add new items to the collection; false otherwise.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridCollectionView Class
DataGridCollectionView Members

Methods

AddNew Method
EndNew Method
CancelNew Method