ToolTipService.GetBetweenShowDelay(DependencyObject) Metoda

Definicja

Pobiera wartość dołączonej BetweenShowDelay właściwości dla obiektu.

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

Parametry

element
DependencyObject

Obiekt, z którego jest odczytywana wartość właściwości.

Zwraca

Int32

Wartość właściwości obiektu BetweenShowDelay .

Atrybuty

Przykłady

W poniższym przykładzie pokazano, jak uzyskać wartość dołączonej ToolTipService.BetweenShowDelay właściwości. Metoda FindName znajduje obiekt o nazwie ellipse2, który jest .Ellipse

int myInt = ToolTipService.GetBetweenShowDelay(
             (DependencyObject)FindName("ellipse2"));
Dim myInt As Integer = ToolTipService.GetBetweenShowDelay(CType(FindName("ellipse2"), DependencyObject))

Dotyczy

Zobacz też