using System.Windows.Forms; namespace Microsoft.Windows.Forms { public partial class Sprite { private Padding m_Padding = new Padding(3); /// /// 文本图片内边距 /// public Padding Padding { get { return this.m_Padding; } set { if (value != this.m_Padding) { this.m_Padding = value; this.Feedback(); } } } private TextImageRelation m_TextImageRelation = TextImageRelation.ImageBeforeText; /// /// 文本图片关系 /// public TextImageRelation TextImageRelation { get { return this.m_TextImageRelation; } set { if (value != this.m_TextImageRelation) { this.m_TextImageRelation = value; this.Feedback(); } } } private RightToLeft m_RightToLeft = RightToLeft.No; /// /// 文本图片左右互换 /// public RightToLeft RightToLeft { get { return this.m_RightToLeft; } set { if (value != this.m_RightToLeft) { this.m_RightToLeft = value; this.Feedback(); } } } } }