Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Can't figure out how to use PropertyGrid

$
0
0
Hi,

We don't have this kind of attribute, but you can vote for this issue : https://wpftoolkit.codeplex.com/workitem/20095.
Adding a passwordTextBox control in the toolkit could be a solution for EditingTemplateDefinition for this specific property in the PropertyGrid.

for now, we only have a maskedTextBox that can be used as a template for a specific property in the PropertyGrid :
<xctk:PropertyGrid x:Name="_propertyGrid">
         <xctk:PropertyGrid.EditorDefinitions>
            <xctk:EditorTemplateDefinition TargetProperties="MyName">
               <xctk:EditorTemplateDefinition.EditingTemplate>
                  <DataTemplate>
                     <xctk:MaskedTextBox Text="{Binding Value}" Mask="AAAAAAAAAAAAA"/>
                  </DataTemplate>
               </xctk:EditorTemplateDefinition.EditingTemplate>
            </xctk:EditorTemplateDefinition>
         </xctk:PropertyGrid.EditorDefinitions>
</xctk:PropertyGrid>

Viewing all articles
Browse latest Browse all 4964

Trending Articles