Questo argomento non è stato ancora valutato - Valuta questo argomento

Proprietà TogglePattern.Current

Gets the current UI Automation property values for this TogglePattern.

Spazio dei nomi: System.Windows.Automation
Assembly: UIAutomationClient (in uiautomationclient.dll)
Spazio dei nomi XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public TogglePatternInformation Current { get; }
/** @property */
public TogglePatternInformation get_Current ()

public function get Current () : TogglePatternInformation

Non applicabile.

Valore proprietà

A structure containing the current UI Automation property values for the control pattern.

This pattern must be from an AutomationElement with an Full reference in order to get current values. If the AutomationElement was obtained using None, it contains only cached data, and attempting to get the current value of any property raises an exception. Use Cached to get the cached value of a property that was previously specified using a CacheRequest.

For information on the properties available and their use, see TogglePattern.TogglePatternInformation.

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in:
Il documento è risultato utile?
(1500 caratteri rimanenti)

Aggiunte alla community

AGGIUNGI
Microsoft sta conducendo un sondaggio in linea per comprendere l'opinione degli utenti in merito al sito Web di MSDN. Se si sceglie di partecipare, quando si lascia il sito Web di MSDN verrà visualizzato il sondaggio in linea.

Si desidera partecipare?
© 2013 Microsoft. Tutti i diritti riservati.