This is a migrated thread and some comments may be shown as answers.

How can a column display and edit in hex mode

0 Answers 110 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Yu
Top achievements
Rank 1
Yu asked on 09 Oct 2013, 02:24 PM

I want a hex column both in display and edit mode, i.e. WYSIWYG.

Such as:  010, ABC, FE0, b
ut failure in edit mode.



<telerik:GridViewMaskedInputColumn
          DataMemberBinding="{Binding Address}"
          Header="Hardware Address"
          DataFormatString="{}{0:X3}"
          MaskType="Numeric"
          Mask="d3">                   
</telerik:GridViewMaskedInputColumn>
 
private ushort _address;
public ushort Address
{
    get { return _address; }
    set
    {
        if (value != _address)
        {
            _address = value;
            OnPropertyChanged("Address");
        }
     }
}




No answers yet. Maybe you can help?

Tags
GridView
Asked by
Yu
Top achievements
Rank 1
Share this question
or