Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2805
embed a regular checkbox in xamdatagrid cell
posted

Hi,

In my xamdatagrid, one of a cell style needs to be an checkbox with some text beside (just like a regular checkbox), the text and checkbox IsCheck are both bound to a property. If define the FieldSetting EditorType="{x:Type igEditors:XamCheckEditor}", text is unable to display. How shall I do this? Thanks.

  • 34510
    Suggested Answer
    Offline posted

    Hi TTran117,

    The XamCheckEditor was meant to be used as an embedded control, mainly inside the data presenter controls such as the XamDataGrid, so it doesn't display text next to the Checkbox like an ordinary Checkbox would.  You will have to either retemplate the CellValuePresenter to use a normal Checkbox or retemplate the XamCheckEditor to add a Label to it.