Table of Contents

Class MSO

Namespace
DocumentFormat.OpenXml.Linq
Assembly
DocumentFormat.OpenXml.Linq.dll

Declares XNamespace and XName fields for the xmlns:mso="http://schemas.microsoft.com/office/2006/01/customui" namespace.

public static class MSO
Inheritance
MSO
Inherited Members

Fields

box

Represents the mso:box XML element.

public static readonly XName box

Field Value

XName

Remarks

As an XML element, it:

button

Represents the mso:button XML elements.

public static readonly XName button

Field Value

XName

Remarks

As an XML element, it:

buttonGroup

Represents the mso:buttonGroup XML element.

public static readonly XName buttonGroup

Field Value

XName

Remarks

As an XML element, it:

checkBox

Represents the mso:checkBox XML element.

public static readonly XName checkBox

Field Value

XName

Remarks

As an XML element, it:

comboBox

Represents the mso:comboBox XML element.

public static readonly XName comboBox

Field Value

XName

Remarks

As an XML element, it:

command

Represents the mso:command XML element.

public static readonly XName command

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: commands.
  • has the following XML attributes: enabled, getEnabled, idMso, onAction.
  • corresponds to the following strongly-typed classes: RepurposedCommand.

commands

Represents the mso:commands XML element.

public static readonly XName commands

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: customUI.
  • has the following child XML elements: command.
  • corresponds to the following strongly-typed classes: RepurposedCommands.

contextualTabs

Represents the mso:contextualTabs XML element.

public static readonly XName contextualTabs

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: ribbon.
  • has the following child XML elements: tabSet.
  • corresponds to the following strongly-typed classes: ContextualTabSets.

control

Represents the mso:control XML elements.

public static readonly XName control

Field Value

XName

Remarks

As an XML element, it:

customUI

Represents the mso:customUI XML element.

public static readonly XName customUI

Field Value

XName

Remarks

As an XML element, it:

  • has the following child XML elements: commands, ribbon.
  • has the following XML attributes: loadImage, onLoad.
  • corresponds to the following strongly-typed classes: CustomUI.

dialogBoxLauncher

Represents the mso:dialogBoxLauncher XML element.

public static readonly XName dialogBoxLauncher

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: group.
  • has the following child XML elements: button.
  • corresponds to the following strongly-typed classes: DialogBoxLauncher.

documentControls

Represents the mso:documentControls XML element.

public static readonly XName documentControls

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: qat.
  • has the following child XML elements: button, control, separator.
  • corresponds to the following strongly-typed classes: DocumentSpecificQuickAccessToolbarControls.

dropDown

Represents the mso:dropDown XML element.

public static readonly XName dropDown

Field Value

XName

Remarks

As an XML element, it:

dynamicMenu

Represents the mso:dynamicMenu XML elements.

public static readonly XName dynamicMenu

Field Value

XName

Remarks

As an XML element, it:

editBox

Represents the mso:editBox XML element.

public static readonly XName editBox

Field Value

XName

Remarks

As an XML element, it:

Represents the mso:gallery XML elements.

public static readonly XName gallery

Field Value

XName

group

Represents the mso:group XML element.

public static readonly XName group

Field Value

XName

Remarks

As an XML element, it:

item

Represents the mso:item XML element.

public static readonly XName item

Field Value

XName

Remarks

As an XML element, it:

labelControl

Represents the mso:labelControl XML element.

public static readonly XName labelControl

Field Value

XName

Remarks

As an XML element, it:

menu

Represents the mso:menu XML elements.

public static readonly XName menu

Field Value

XName

Remarks

As an XML element, it:

menuSeparator

Represents the mso:menuSeparator XML element.

public static readonly XName menuSeparator

Field Value

XName

Remarks

As an XML element, it:

mso

Defines the XML namespace associated with the mso prefix.

public static readonly XNamespace mso

Field Value

XNamespace

officeMenu

Represents the mso:officeMenu XML element.

public static readonly XName officeMenu

Field Value

XName

Remarks

As an XML element, it:

qat

Represents the mso:qat XML element.

public static readonly XName qat

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: ribbon.
  • has the following child XML elements: documentControls, sharedControls.
  • corresponds to the following strongly-typed classes: QuickAccessToolbar.

ribbon

Represents the mso:ribbon XML element.

public static readonly XName ribbon

Field Value

XName

Remarks

As an XML element, it:

separator

Represents the mso:separator XML element.

public static readonly XName separator

Field Value

XName

Remarks

As an XML element, it:

sharedControls

Represents the mso:sharedControls XML element.

public static readonly XName sharedControls

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: qat.
  • has the following child XML elements: button, control, separator.
  • corresponds to the following strongly-typed classes: SharedQatControls.

splitButton

Represents the mso:splitButton XML elements.

public static readonly XName splitButton

Field Value

XName

Remarks

As an XML element, it:

tab

Represents the mso:tab XML element.

public static readonly XName tab

Field Value

XName

Remarks

As an XML element, it:

tabSet

Represents the mso:tabSet XML element.

public static readonly XName tabSet

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: contextualTabs.
  • has the following child XML elements: tab.
  • has the following XML attributes: getVisible, idMso, visible.
  • corresponds to the following strongly-typed classes: ContextualTabSet.

tabs

Represents the mso:tabs XML element.

public static readonly XName tabs

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: ribbon.
  • has the following child XML elements: tab.
  • corresponds to the following strongly-typed classes: Tabs.

toggleButton

Represents the mso:toggleButton XML elements.

public static readonly XName toggleButton

Field Value

XName

Remarks

As an XML element, it: