Static Public Member Functions |
|
static void | ExportTabByName (String tabName, String outputPath) |
Write a RibbonTab out to a file in a format
suitable for inclusion in the Ribbon as an Extension. |
|
static void | ApplyRootFlags (ReverseBindingStorage storage) |
static void | NameConditionalSubPanels (Object root, ReverseBindingStorage storage) |
static void | ClearReverseBindings (Object root, ReverseBindingStorage storage) |
static Object | CopyTree (ICloneable root, ReverseBindingStorage storage) |
Copy the content tree below root, returning
the root of the new tree. |
|
static void | FixPanelReferences (Object root, ReverseBindingStorage storage, RibbonPanel correctPanel) |
Force all RibbonPanelContextQuery instances
bound to the given root's descendants to reference the given
correct panel. |
|
static void | RemapPanelReferences (Object root, ReverseBindingStorage storage, RibbonPanel fromPanel, RibbonPanel toPanel) |
Traverse down the content tree rooted at
root, changing any associated RibbonPanelContextQuery panels from
fromPanel to toPanel. |
static void WPFCustomControls::RibbonUtilities::ExportTabByName | ( | String | tabName, |
String | outputPath | ||
) | [inline, static] |
Write a RibbonTab out to a file in a format suitable for inclusion in the Ribbon as an Extension.
tabName | Tab to find in the Ribbon |
outputPath | Where to save the file. If given a relative path, the output file will be placed in the Ribbon's Extensions folder. A .xaml extension will be appended if not present. |
static void WPFCustomControls::RibbonUtilities::ApplyRootFlags | ( | ReverseBindingStorage | storage | ) | [inline, static] |
static void WPFCustomControls::RibbonUtilities::NameConditionalSubPanels | ( | Object | root, |
ReverseBindingStorage | storage | ||
) | [inline, static] |
static void WPFCustomControls::RibbonUtilities::ClearReverseBindings | ( | Object | root, |
ReverseBindingStorage | storage | ||
) | [inline, static] |
static Object WPFCustomControls::RibbonUtilities::CopyTree | ( | ICloneable | root, |
ReverseBindingStorage | storage | ||
) | [inline, static] |
Copy the content tree below root, returning the root of the new tree.
root | The root of the Ribbon element tree to copy. |
storage | Current storage for active ReverseBindings. |
static void WPFCustomControls::RibbonUtilities::FixPanelReferences | ( | Object | root, |
ReverseBindingStorage | storage, | ||
RibbonPanel | correctPanel | ||
) | [inline, static] |
Force all RibbonPanelContextQuery instances bound to the given root's descendants to reference the given correct panel.
root | Root of the content tree to visit. |
storage | Source for current ReverseBindings. |
correctPanel | Replacement panel for all references in bound RibbonPanelContextQuery instances. |
static void WPFCustomControls::RibbonUtilities::RemapPanelReferences | ( | Object | root, |
ReverseBindingStorage | storage, | ||
RibbonPanel | fromPanel, | ||
RibbonPanel | toPanel | ||
) | [inline, static] |
Traverse down the content tree rooted at root, changing any associated RibbonPanelContextQuery panels from fromPanel to toPanel.
root | Root of the subtree to process. |
storage | ReverseBindingStorage used to find associated ContextQueries. |
fromPanel | Panel to find and replace. |
toPanel | Panel to use instead of fromPanel. |