Timeline.FillBehavior Proprietà
Definizione
public:
property System::Windows::Media::Animation::FillBehavior FillBehavior { System::Windows::Media::Animation::FillBehavior get(); void set(System::Windows::Media::Animation::FillBehavior value); };
public System.Windows.Media.Animation.FillBehavior FillBehavior { get; set; }
member this.FillBehavior : System.Windows.Media.Animation.FillBehavior with get, set
Public Property FillBehavior As FillBehavior
Valore della proprietà
Valore che specifica come si comporti la sequenza temporale dopo avere raggiunto la fine del periodo attivo, ma l'entità principale è nel periodo attivo o nel segmento di tempo.A value that specifies how the timeline behaves after it reaches the end of its active period but its parent is inside its active or fill period. Il valore predefinito è HoldEnd.The default value is HoldEnd.
Commenti
Impostare una FillBehavior Proprietà animazioni su HoldEnd quando si desidera che l'animazione mantenga il valore dopo che raggiunge la fine del periodo attivo.Set an animations FillBehavior property to HoldEnd when you want the animation to hold its value after it reaches the end of its active period. Un'animazione che ha raggiunto la fine del periodo attivo con un' FillBehavior impostazione di viene definita HoldEnd nel periodo di riempimento.An animation that has reached the end of its active period that has a FillBehavior setting of HoldEnd is said to be in its fill period. Quando non si vuole che un'animazione mantenga il valore dopo che raggiunge la fine del periodo attivo, impostarne ilWhen you don't want an animation to hold its value after it reaches the end of its active period, set its
FillBehavior Proprietà a Stop .FillBehavior property to Stop.
Poiché un'animazione nel periodo di riempimento continua a eseguire l'override del valore della proprietà di destinazione, il tentativo di impostare il valore della proprietà di destinazione attraverso altri mezzi potrebbe sembrare privo di effetti.Because an animation in its fill period continues to override its target property's value, attempting to set the target property's value through other means might appear to have no effect. Per un esempio che illustra come impostare il valore di una proprietà dopo che è stata animata, vedere procedura: impostare una proprietà dopo averla animata con uno storyboard.For an example showing how to set a property value after it has been animated, see How to: Set a Property After Animating It with a Storyboard.
Una sequenza temporale figlio smette di essere riprodotta e riempita quando viene arrestata la sequenza temporale padre; Se si desidera che una sequenza temporale figlio venga riempita, assicurarsi che la sequenza temporale padre abbia un valore FillBehavior di HoldEnd .A child timeline stops playing and filling when its parent timeline stops; if you want a child timeline to fill, make sure its parent timeline has a FillBehavior of HoldEnd.
Informazioni proprietà di dipendenzaDependency Property Information
Campo identificatoreIdentifier field | FillBehaviorProperty |
Proprietà dei metadati impostate su true Metadata properties set to true |
NessunoNone |