Aracılığıyla paylaş


Validation.GetErrorTemplate(DependencyObject) Yöntem

Tanım

Belirtilen öğenin ekli özelliğinin değerini ErrorTemplate alır.

public:
 static System::Windows::Controls::ControlTemplate ^ GetErrorTemplate(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Controls.ControlTemplate GetErrorTemplate (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetErrorTemplate : System.Windows.DependencyObject -> System.Windows.Controls.ControlTemplate
Public Shared Function GetErrorTemplate (element As DependencyObject) As ControlTemplate

Parametreler

element
DependencyObject

Değerin UIElement okunduğu veya ContentElement nesnesi.

Döndürülenler

ControlTemplate

Donatıcı ControlTemplate katmanında doğrulama hatası geri bildirimi oluşturmak için kullanılır.

Öznitelikler

Özel durumlar

ise element null.

Şunlara uygulanır