Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Collapse]Rich Text Editor
    Overview
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Concepts
   [Collapse]Visual Elements
    [Expand]Rich Edit Control
    [Expand]Command UI
    [Collapse]Dialogs
      Paste Special Dialog
      Font Dialog
      Paragraph and Tabs Dialogs
      List Dialogs
      Find and Replace Dialog
      Symbol Dialog
      Bookmark Dialog
      Edit Hyperlink Dialog
      Page Setup Dialog
      Columns Dialog
      Line Numbers Dialog
      Insert Merge Field Dialog
      Document Protection Dialogs
      Editing Permissions Dialog
      Table Layout Dialogs
      Table Properties Dialogs
      Borders and Shading Dialog
      Style Editor Dialog
      Inline and Floating Object Layout Dialog
      Table Style Dialog
      Document Properties Dialog
    [Expand]Views
   [Expand]Examples
   [Expand]Member Tables
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Table Style Dialog

The Modify Style dialog enables end-users to change the style applied to a table. You can specify the base style and the element to which style settings are applied. The table elements available are Header (first) row, Total (last) row, First column, Last column, Odd and Even Column and Row bandings, and the cells located at the table corners. You can also apply formatting to the entire table.

When a table style is applied to a particular table, not all elements of the style are applied. The Table Style Options determine which table elements are formatted with the applied style. The same functionality is available for end-users via the Table Style Options group in the Ribbon UI.

The Modify Style dialog is invoked by right-clicking within the Table Styles Ribbon page group. To create a Table Styles group, provide the Ribbon UI for RichEditControl (see How to: Create a Simple Word Processor with a Ribbon UI), and create a Table Ribbon page (using the Create Table Bars smart tag).

The ShowTableStyleFormCommand is used to invoke the table style dialog.

To customize the default Modify Style dialog (change captions, set default dialog values, implement custom validation, etc.) or replace it with a completely new dialog, handle the RichEditControl.TableStyleFormShowing event. To see an example of dialog replacement, refer to the How to: Customize the Search Form document.

Expanded See Also

How would you rate this topic?​​​​​​​