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
Gets or sets whether headers and footers should align with page margins.
public bool AlignWithPageMargins { get; set; }
Value indicating whether headers and footers should align with page margins.
Gets or sets whether headers and footers are the same on all pages.
public bool AreHeadersAndFootersSameForAllPages { get; set; }
Value indicating whether headers and footers are the same on all pages.
Gets or sets the create custom footer command.
public ICommand CreateCustomFooterCommand { get; set; }
The create custom footer command.
Gets or sets the create custom header command.
public ICommand CreateCustomHeaderCommand { get; set; }
The create custom header command.
Gets or sets whether the first page should be different.
public bool DifferentFirstPage { get; set; }
Value indicating whether the first page should be different.
Gets or sets whether odd and even pages should be different.
public bool DifferentOddAndEvenPages { get; set; }
Value indicating whether odd and even pages should be different.
Gets the footer templates.
public ObservableCollection<HeaderFooterTemplate> FooterTemplates { get; }
The footer templates.
Gets the header templates.
public ObservableCollection<HeaderFooterTemplate> HeaderTemplates { get; }
The header templates.
Gets or sets whether headers and footers should scale with document.
public bool ScaleWithDocument { get; set; }
Value indicating whether headers and footers should scale with document.
Gets or sets the selected footer template.
public HeaderFooterTemplate SelectedFooterTemplate { get; set; }
The selected footer template.
Gets or sets the selected header template.
public HeaderFooterTemplate SelectedHeaderTemplate { get; set; }
The selected header template.
Methods
Copies the properties from context.
public override void CopyPropertiesFromContext()
Overrides:
Copies the properties to context.
public override void CopyPropertiesToContext()
Overrides: