Class PrintBoxMessage
public class PrintBoxMessage : ServiceSettingInstance<PrintBoxMessage, IPrintBoxMessage>, INotifyPropertyChanged, IDisplayer, ISetting, IPrintBoxMessage, IPrintBoxMessageOption
- Inheritance
-
PrintBoxMessage
- Implements
- Inherited Members
- Extension Methods
Properties
Background
[Display(Name = "背景颜色")]
public Brush Background { get; set; }
Property Value
BorderBrush
[Display(Name = "边框颜色")]
public Brush BorderBrush { get; set; }
Property Value
FontSize
[Display(Name = "字体大小")]
public int FontSize { get; set; }
Property Value
Foreground
[Display(Name = "字体颜色")]
public Brush Foreground { get; set; }
Property Value
PageMargin
[Display(Name = "页面边距")]
public Thickness PageMargin { get; set; }
Property Value
Methods
LoadDefault()
public override void LoadDefault()
PrintTable<T>(IEnumerable<T>, string)
public Task<bool> PrintTable<T>(IEnumerable<T> source, string title = "标题")
Parameters
source
IEnumerable<T>title
string
Returns
Type Parameters
T
Show(params IPrintPagePresenter[])
public Task<bool> Show(params IPrintPagePresenter[] data)
Parameters
data
IPrintPagePresenter[]