Class TreeGridMaskColumn
Represents a column that displays the masked data in its cell content.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridMaskColumn : TreeGridTextColumnBase, IDisposable, IFilterDefinition
Constructors
TreeGridMaskColumn()
Initializes a new instance of the TreeGridMaskColumn class.
Declaration
public TreeGridMaskColumn()
Fields
DateSeparatorProperty
Identifies the Syncfusion.UI.Xaml.Grid.TreeGridMaskColumn.DateSeparator dependency property.
Declaration
public static readonly DependencyProperty DateSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.TreeGridMaskColumn.DateSeparator dependency property.
DecimalSeparatorProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.DecimalSeparator dependency property.
Declaration
public static readonly DependencyProperty DecimalSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.DecimalSeparator dependency property.
IsNumericProperty
Identifies the Syncfusion.UI.Xaml.Grid.TreeGridMaskColumn.IsNumeric dependency property.
Declaration
public static readonly DependencyProperty IsNumericProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.TreeGridMaskColumn.IsNumeric dependency property.
MaskFormatProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.MaskFormat dependency property.
Declaration
public static readonly DependencyProperty MaskFormatProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.MaskFormat dependency property.
MaskProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.Mask dependency property.
Declaration
public static readonly DependencyProperty MaskProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.Mask dependency property.
PromptCharProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.PromptChar dependency property.
Declaration
public static readonly DependencyProperty PromptCharProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.PromptChar dependency property.
TimeSeparatorProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.TimeSeparator dependency property.
Declaration
public static readonly DependencyProperty TimeSeparatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridMaskColumn.TimeSeparator dependency property.
Properties
DateSeparator
Gets or sets the string that separates the components of date,that is, day ,month and year in TreeGridMaskColumn.
Declaration
public string DateSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that separates the components of date,that is, day ,month and year in TreeGridMaskColumn. |
DecimalSeparator
Gets or sets the string that separates groups of digits to the left of the decimal in values.
Declaration
public string DecimalSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that separates groups of digits to the left of the decimal in values. |
IsNumeric
Gets or sets a value that indicates whether the TreeGridMaskColumn that loads the numeric values in it.
Declaration
public bool IsNumeric { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the TreeGridMaskColumn loaded with numeric values; otherwise , false . The default value is false. |
Mask
Gets or sets the input mask to use at runtime.
Declaration
public string Mask { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that representing the current mask. The default value is the empty string which allows any input. |
MaskFormat
Gets or sets the format of masked input.
Declaration
public MaskFormat MaskFormat { get; set; }
Property Value
Type | Description |
---|---|
MaskFormat | One of the MaskFormat that specifies the format of masked input. The default value is ExcludePromptAndLiterals. |
PromptChar
Gets or sets the character used to represent the absence of user input in TreeGridMaskColumn.
Declaration
public char PromptChar { get; set; }
Property Value
Type | Description |
---|---|
System.Char | The character used to prompt the user for input. The default is an underscore (_). |
TimeSeparator
Gets or sets the string that separates the components of time, that is, the hour , minutes and seconds .
Declaration
public string TimeSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that separates the components of time, that is, the hour , minutes and seconds . |
Methods
UpdateBindingBasedOnAllowEditing()
Updates the binding for the AllowEdit property changes in the TreeGridMaskColumn.
Declaration
protected override void UpdateBindingBasedOnAllowEditing()