ClassHeaderFooterTabViewModel
Represents the HeaderFooter tab view model.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class HeaderFooterTabViewModel : PageSetupTabViewModelBase
Inheritance: objectDialogViewModelBase<PageSetupDialogContext>PageSetupTabViewModelBaseHeaderFooterTabViewModel
Inherited Members
Properties
AlignWithPageMargins
Gets or sets whether headers and footers should align with page margins.
Declaration
public bool AlignWithPageMargins { get; set; }
Property Value
Value indicating whether headers and footers should align with page margins.
AreHeadersAndFootersSameForAllPages
Gets or sets whether headers and footers are the same on all pages.
Declaration
public bool AreHeadersAndFootersSameForAllPages { get; set; }
Property Value
Value indicating whether headers and footers are the same on all pages.
CreateCustomFooterCommand
Gets or sets the create custom footer command.
Declaration
public ICommand CreateCustomFooterCommand { get; set; }
Property Value
The create custom footer command.
CreateCustomHeaderCommand
Gets or sets the create custom header command.
Declaration
public ICommand CreateCustomHeaderCommand { get; set; }
Property Value
The create custom header command.
DifferentFirstPage
Gets or sets whether the first page should be different.
Declaration
public bool DifferentFirstPage { get; set; }
Property Value
Value indicating whether the first page should be different.
DifferentOddAndEvenPages
Gets or sets whether odd and even pages should be different.
Declaration
public bool DifferentOddAndEvenPages { get; set; }
Property Value
Value indicating whether odd and even pages should be different.
FooterTemplates
Gets the footer templates.
Declaration
public ObservableCollection<HeaderFooterTemplate> FooterTemplates { get; }
Property Value
ObservableCollection<HeaderFooterTemplate>
The footer templates.
HeaderTemplates
Gets the header templates.
Declaration
public ObservableCollection<HeaderFooterTemplate> HeaderTemplates { get; }
Property Value
ObservableCollection<HeaderFooterTemplate>
The header templates.
ScaleWithDocument
Gets or sets whether headers and footers should scale with document.
Declaration
public bool ScaleWithDocument { get; set; }
Property Value
Value indicating whether headers and footers should scale with document.
SelectedFooterTemplate
Gets or sets the selected footer template.
Declaration
public HeaderFooterTemplate SelectedFooterTemplate { get; set; }
Property Value
The selected footer template.
SelectedHeaderTemplate
Gets or sets the selected header template.
Declaration
public HeaderFooterTemplate SelectedHeaderTemplate { get; set; }
Property Value
The selected header template.
Methods
CopyPropertiesFromContext()
Copies the properties from context.
Declaration
public override void CopyPropertiesFromContext()
Overrides
CopyPropertiesToContext()
Copies the properties to context.
Declaration
public override void CopyPropertiesToContext()
Overrides