Button.ButtonContentLayout 构造函数

定义

使用指定的 positionspacing 新建 Button.ButtonContentLayout

public ButtonContentLayout (Xamarin.Forms.Button.ButtonContentLayout.ImagePosition position, double spacing);
new Xamarin.Forms.Button.ButtonContentLayout : Xamarin.Forms.Button.ButtonContentLayout.ImagePosition * double -> Xamarin.Forms.Button.ButtonContentLayout

参数

position
Button.ButtonContentLayout.ImagePosition

枚举值,该值控制图像在按钮中的显示位置。

spacing
System.Double

图像和文本之间要使用的间距。

适用于