In This Article

RibbonWindow Class

Represents a System.Windows.Window that is designed to host a Ribbon, using a RibbonWindowChrome to theme the window and support a quick-access toolbar in the window's titlebar.

public class RibbonWindow : Window, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IWindowService
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control System.Windows.Controls.ContentControl System.Windows.Window Object

Constructors

RibbonWindow()

Initializes a new instance of the RibbonWindow class.

public RibbonWindow()

Properties

Ribbon

Gets the primary Ribbon in the window.

public Ribbon Ribbon { get; }

Property Value

Ribbon:

The primary Ribbon in the window.

Methods

CreateWindowChrome()

Creates a new WindowChrome instance to be applied to the window.

protected virtual WindowChrome CreateWindowChrome()

Returns

WindowChrome:

The WindowChrome instance that was created.

OnPreviewKeyDown(KeyEventArgs)

Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameter Type Description
e System.Windows.Input.KeyEventArgs

The System.Windows.Input.KeyEventArgs that contains the event data.

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()

Extension Methods