Condividi tramite


ConnectedAnimation.TryStart Metodo

Definizione

Overload

TryStart(UIElement)

Tenta di avviare l'animazione.

TryStart(UIElement, IIterable<UIElement>)

Tenta di avviare l'animazione sull'elemento di destinazione e sugli elementi secondari specificati.

TryStart(UIElement)

Tenta di avviare l'animazione.

public:
 virtual bool TryStart(UIElement ^ destination) = TryStart;
/// [Windows.Foundation.Metadata.Overload("TryStart")]
bool TryStart(UIElement const& destination);
[Windows.Foundation.Metadata.Overload("TryStart")]
public bool TryStart(UIElement destination);
function tryStart(destination)
Public Function TryStart (destination As UIElement) As Boolean

Parametri

destination
UIElement

Elemento animato nella visualizzazione.

Restituisce

Boolean

bool

true se l'animazione è stata avviata; false se l'animazione è già stata avviata, se non è più attiva o se l'elemento di destinazione è uguale all'elemento di origine.

Attributi

Si applica a

TryStart(UIElement, IIterable<UIElement>)

Tenta di avviare l'animazione sull'elemento di destinazione e sugli elementi secondari specificati.

public:
 virtual bool TryStart(UIElement ^ destination, IIterable<UIElement ^> ^ coordinatedElements) = TryStart;
/// [Windows.Foundation.Metadata.Overload("TryStartWithCoordinatedElements")]
bool TryStart(UIElement const& destination, IIterable<UIElement> const& coordinatedElements);
[Windows.Foundation.Metadata.Overload("TryStartWithCoordinatedElements")]
public bool TryStart(UIElement destination, IEnumerable<UIElement> coordinatedElements);
function tryStart(destination, coordinatedElements)
Public Function TryStart (destination As UIElement, coordinatedElements As IEnumerable(Of UIElement)) As Boolean

Parametri

destination
UIElement

Elemento animato nella visualizzazione.

coordinatedElements

IIterable<UIElement>

IEnumerable<UIElement>

Raccolta di elementi secondari. Questi elementi riprodurranno un'animazione di ingresso in cui viaggiano insieme alla destinazione di animazione connessa in un'"animazione coordinata".

Restituisce

Boolean

bool

true se l'animazione è stata avviata; false se l'animazione è già stata avviata, se non è più attiva o se l'elemento di destinazione è uguale all'elemento di origine.

Attributi

Si applica a