Share via


IndependentlyAnimatableAttribute クラス

定義

一般的な使用を目的としたものではありません。 この属性は、Microsoft Visual Studio などのデザイン ツールで使用されます。 Microsoft Visual Studio は 属性を解釈し、パフォーマンスと制限に関する限り、アニメーションとプロパティの組み合わせがどのように機能するかをアプリ開発者に通知します。

public ref class IndependentlyAnimatableAttribute sealed : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Property)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public sealed class IndependentlyAnimatableAttribute : Attribute
Public NotInheritable Class IndependentlyAnimatableAttribute
Inherits Attribute
継承
IndependentlyAnimatableAttribute
属性

注釈

プロパティのアニメーションは、既定で有効または無効にすることができます。 適用されるケースは、アニメーションの種類自体 (およびそのサブプロパティ) と、アニメーション化される特定のプロパティの両方によって決まります。 コア Windows ランタイム依存関係プロパティには、プロパティが個別にアニメーション化可能かどうかを示すメタデータで注釈が付きます。 この情報は、アプリ開発者に特定のアニメーションの動作と実行が許可されているかどうかに関する情報を提供するために、Microsoft Visual Studio などのデザイン ツールによっても報告されます。

ConditionallyIndependentlyAnimatableAttribute は、アニメーション化された型が適用されるプロパティに応じて個別にアニメーション化できるサブプロパティ アニメーションの種類に適用されます。 これに対し、IndependentlyAnimatableAttribute は、実際にアニメーション化可能な特定のプロパティに適用されます。

コンストラクター

IndependentlyAnimatableAttribute()

FadeOutThemeAnimation クラスの新しいインスタンスを初期化します。

適用対象

こちらもご覧ください