Share via


CommandBarFlyoutCommandBarTemplateSettings.CurrentWidth 属性

定义

获取控件的当前宽度。

适用于 UWP 的等效 WinUI 2 APIMicrosoft.UI.Xaml.Controls.Primitives.CommandBarFlyoutCommandBarTemplateSettings.CurrentWidth (在Windows 应用 SDK中适用于 WinUI,请参阅Windows 应用 SDK命名空间) 。

public:
 property double CurrentWidth { double get(); };
double CurrentWidth();
public double CurrentWidth { get; }
var double = commandBarFlyoutCommandBarTemplateSettings.currentWidth;
Public ReadOnly Property CurrentWidth As Double

属性值

Double

double

控件的当前宽度。

适用于