Button.ButtonContentLayout 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的 position
和 spacing
新建 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
参数
枚举值,该值控制图像在按钮中的显示位置。
- spacing
- System.Double
图像和文本之间要使用的间距。