skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class HeaderFooterTabViewModel

Represents the HeaderFooter tab view model.

Inheritance
System.Object
DialogViewModelBase<PageSetupDialogContext>
PageSetupTabViewModelBase
HeaderFooterTabViewModel
Inherited Members
PageSetupTabViewModelBase.IsSelected
PageSetupTabViewModelBase.SheetContextType
PageSetupTabViewModelBase.WorksheetPageSetup
PageSetupTabViewModelBase.PageSetup
PageSetupTabViewModelBase.DialogViewModel
PageSetupTabViewModelBase.Worksheet
DialogViewModelBase<PageSetupDialogContext>.Context
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll

Syntax

public class HeaderFooterTabViewModel : PageSetupTabViewModelBase

Properties

AlignWithPageMargins

Gets or sets whether headers and footers should align with page margins.

Declaration
public bool AlignWithPageMargins { get; set; }
Property Value
System.Boolean

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
System.Boolean

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
System.Windows.Input.ICommand

The create custom footer command.

CreateCustomHeaderCommand

Gets or sets the create custom header command.

Declaration
public ICommand CreateCustomHeaderCommand { get; set; }
Property Value
System.Windows.Input.ICommand

The create custom header command.

DifferentFirstPage

Gets or sets whether the first page should be different.

Declaration
public bool DifferentFirstPage { get; set; }
Property Value
System.Boolean

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
System.Boolean

Value indicating whether odd and even pages should be different.

FooterTemplates

Gets the footer templates.

Declaration
public ObservableCollection<HeaderFooterTemplate> FooterTemplates { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<HeaderFooterTemplate>

The footer templates.

HeaderTemplates

Gets the header templates.

Declaration
public ObservableCollection<HeaderFooterTemplate> HeaderTemplates { get; }
Property Value
System.Collections.ObjectModel.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
System.Boolean

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
HeaderFooterTemplate

The selected footer template.

SelectedHeaderTemplate

Gets or sets the selected header template.

Declaration
public HeaderFooterTemplate SelectedHeaderTemplate { get; set; }
Property Value
HeaderFooterTemplate

The selected header template.

TabHeader

Gets the tab header.

Declaration
public override string TabHeader { get; }
Property Value
System.String

The tab header.

Overrides
PageSetupTabViewModelBase.TabHeader

Methods

CopyPropertiesFromContext()

Copies the properties from context.

Declaration
public override void CopyPropertiesFromContext()
Overrides
PageSetupTabViewModelBase.CopyPropertiesFromContext()

CopyPropertiesToContext()

Copies the properties to context.

Declaration
public override void CopyPropertiesToContext()
Overrides
PageSetupTabViewModelBase.CopyPropertiesToContext()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.