PasswordBox.HeaderTemplate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the DataTemplate used to display the content of the control's header.
DataTemplate HeaderTemplate();
void HeaderTemplate(DataTemplate value);
public DataTemplate HeaderTemplate { get; set; }
var dataTemplate = passwordBox.headerTemplate;
passwordBox.headerTemplate = dataTemplate;
Public Property HeaderTemplate As DataTemplate
<PasswordBox>
<PasswordBox.HeaderTemplate>
singleDataTemplate
</PasswordBox.HeaderTemplate>
</PasswordBox>
- or -
<PasswordBox HeaderTemplate="resourceReferenceToDataTemplate"/>
Property Value
The template that specifies the visualization of the header object. The default is null.
Applies to
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla