wpfdatagridwpftoolkitpasswordbox

How to define PasswordBox type column in DataGrid?


How to make a column in WPFToolkit:DataGrid PasswordBox like?


Solution

  • Made it through DataGridTemplateColumn

    Example:

    <DataGridTemplateColumn Header="Password">
         <DataGridTemplateColumn.CellTemplate>
              <DataTemplate>
                   <PasswordBox />
              </DataTemplate>
         </DataGridTemplateColumn.CellTemplate>
    </DataGridTemplateColumn>