* UIRichTextBox:增加WordWrap属性
This commit is contained in:
parent
7f0b93c40a
commit
66fd739fa2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -46,6 +46,8 @@ namespace Sunny.UI
|
||||
edit.ScrollBars = RichTextBoxScrollBars.Vertical;
|
||||
}
|
||||
|
||||
public RichTextBox RichTextBox => edit;
|
||||
|
||||
public override Color BackColor { get => edit.BackColor; set { edit.BackColor = base.BackColor = value; } }
|
||||
|
||||
protected override void OnContextMenuStripChanged(EventArgs e)
|
||||
@ -666,6 +668,12 @@ namespace Sunny.UI
|
||||
set => edit.ZoomFactor = value;
|
||||
}
|
||||
|
||||
public bool WordWrap
|
||||
{
|
||||
get => edit.WordWrap;
|
||||
set => edit.WordWrap = value;
|
||||
}
|
||||
|
||||
public bool CanPaste(DataFormats.Format clipFormat)
|
||||
{
|
||||
return edit.CanPaste(clipFormat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user