Share via


RibbonApplicationMenu.AuxiliaryPaneContentTemplateSelector Property

Gets or sets the custom logic for selecting a DataTemplate that is used to display the contents of the Application Menu auxiliary pane.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property AuxiliaryPaneContentTemplateSelector As DataTemplateSelector
public DataTemplateSelector AuxiliaryPaneContentTemplateSelector { get; set; }
public:
property DataTemplateSelector^ AuxiliaryPaneContentTemplateSelector {
    DataTemplateSelector^ get ();
    void set (DataTemplateSelector^ value);
}
member AuxiliaryPaneContentTemplateSelector : DataTemplateSelector with get, set
function get AuxiliaryPaneContentTemplateSelector () : DataTemplateSelector
function set AuxiliaryPaneContentTemplateSelector (value : DataTemplateSelector)

Property Value

Type: System.Windows.Controls.DataTemplateSelector
A custom DataTemplateSelector object that provides logic and returns a DataTemplate. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

AuxiliaryPaneContentTemplateSelectorProperty

Metadata properties set to true

None

Remarks

You use the AuxiliaryPaneContentTemplate property to specify the visualization of the content. If you have more than one template defined and want to specify logic that selects a template to use, then you use this property. This property is ignored if the AuxiliaryPaneContentTemplate property is set.

.NET Framework Security

See Also

Reference

RibbonApplicationMenu Class

Microsoft.Windows.Controls.Ribbon Namespace