Table of Contents

Class PrintBoxMessage

Namespace
HeBianGu.Systems.Print
Assembly
HeBianGu.Systems.Print.dll
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

Brush

BorderBrush

[Display(Name = "边框颜色")]
public Brush BorderBrush { get; set; }

Property Value

Brush

FontSize

[Display(Name = "字体大小")]
public int FontSize { get; set; }

Property Value

int

Foreground

[Display(Name = "字体颜色")]
public Brush Foreground { get; set; }

Property Value

Brush

PageMargin

[Display(Name = "页面边距")]
public Thickness PageMargin { get; set; }

Property Value

Thickness

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

Task<bool>

Type Parameters

T

Show(params IPrintPagePresenter[])

public Task<bool> Show(params IPrintPagePresenter[] data)

Parameters

data IPrintPagePresenter[]

Returns

Task<bool>