ClassGridViewMaskedInputColumn
GridViewMaskedInputColumn is a special column which uses RadMaskedInputBase control as an editor.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewMaskedInputColumn : GridViewBoundColumnBase, INotifyPropertyChanged, IDataFieldDescriptor, IFieldDescriptor, IExportableColumn
Inheritance: objectGridViewColumnGridViewBoundColumnBaseGridViewMaskedInputColumn
Implements:
Inherited Members
Constructors
GridViewMaskedInputColumn()
Declaration
public GridViewMaskedInputColumn()
Properties
Mask
Gets or sets the mask used in RadMaskedInputBase editor control.
MaskType
Gets or sets the mask type used in RadMaskedInputBase editor control.
Declaration
public MaskType? MaskType { get; set; }
Property Value
MaskType?
The mask type.
Methods
CreateCellEditElement(GridViewCell, object)
Creates the element for the cell in edit mode.
Declaration
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
public override FrameworkElement CreateCellEditElement(GridViewCell cell, object dataItem)
Parameters
cell
dataItem
Returns
FrameworkElement
Overrides
CreateCellElement(GridViewCell, object)
Creates the element for the cell in view mode.
Declaration
public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
Parameters
cell
dataItem
Returns
FrameworkElement
Overrides
GetDefaultMaskType()
Gets the default value of the MaskType property, depending on the DataType property.
Declaration
protected virtual MaskType? GetDefaultMaskType()
Returns
MaskType?