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(Windows.Foundation.UniversalApiContract, 65536)]
class IndependentlyAnimatableAttribute final : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Property)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.AttributeName("independentlyanimatable")]
class IndependentlyAnimatableAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Property)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class IndependentlyAnimatableAttribute : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Property)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.AttributeName("independentlyanimatable")]
public sealed class IndependentlyAnimatableAttribute : Attribute
Public NotInheritable Class IndependentlyAnimatableAttribute
Inherits Attribute
継承
IndependentlyAnimatableAttribute
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

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

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

コンストラクター

IndependentlyAnimatableAttribute()

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

適用対象

こちらもご覧ください