Class RibbonPage
Represents a RibbonPage control.
Inheritance
System.Object
RibbonPage
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class RibbonPage : Page
Remarks
RibbonPage class represents main Ribbon UI element - Page control.
Examples
This example shows how to create a RibbonPage in XAML.
<ribbon:RibbonPage x:Class="TestXBAP.Page1" Name="ribbonPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ribbon="clr-namespace:Syncfusion.Windows.Tools.Controls;assembly=Syncfusion.Tools.WPF"
xmlns:shared="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF"
xmlns:sample="clr-namespace:TestXBAP"
Title="Page1"/>
This example shows how to create a RibbonPage in C#.
using System;
using System.Windows;
using Syncfusion.Windows.Tools.Controls;
namespace CSharp
{
public partial class CodeOnlyPage : RibbonPage
{
public CodeOnlyPage()
{
this.Title = "Main Page";
}
}
}
Constructors
RibbonPage()
Declaration
public RibbonPage()
Fields
RibbonProperty
Gets or sets the Ribbon control of the page. This is a dependency property.
Declaration
public static readonly DependencyProperty RibbonProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StatusBarProperty
Gets or sets the StatusBar control of the page. This is a dependency property.
Declaration
public static readonly DependencyProperty StatusBarProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Ribbon
Gets or sets the Ribbon control of the page.
Declaration
public Ribbon Ribbon { get; set; }
Property Value
Type | Description |
---|---|
Ribbon | Type: Ribbon Instance of ribbon control used in page. |
Examples
RibbonPage page;
Ribbon ribbon;
// ....
page.Ribbon = ribbon;
See Also
StatusBar
Gets or sets the StatusBar control of the page.
Declaration
public RibbonStatusBar StatusBar { get; set; }
Property Value
Type | Description |
---|---|
RibbonStatusBar | Type: RibbonStatusBar Instance of RibbonStatusBar control used in page. |
Examples
RibbonPage page;
RibbonStatusBar statusBar;
// ....
page.StatusBar = statusBar;