共用方式為


UIElement.OpacityTransition 屬性

定義

取得或設定 ScalarTransition,以動畫顯示 Opacity 屬性的變更。

ScalarTransition OpacityTransition();

void OpacityTransition(ScalarTransition value);
public ScalarTransition OpacityTransition { get; set; }
var scalarTransition = uIElement.opacityTransition;
uIElement.opacityTransition = scalarTransition;
Public Property OpacityTransition As ScalarTransition

屬性值

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於