RibbonComboBox.SelectionBoxItemTemplateSelector Property
Gets or sets the custom logic for selecting a DataTemplate that is used to display the SelectionBoxItem.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property SelectionBoxItemTemplateSelector As DataTemplateSelector
public DataTemplateSelector SelectionBoxItemTemplateSelector { get; private set; }
public:
property DataTemplateSelector^ SelectionBoxItemTemplateSelector {
DataTemplateSelector^ get ();
private: void set (DataTemplateSelector^ value);
}
member SelectionBoxItemTemplateSelector : DataTemplateSelector with get, private set
function get SelectionBoxItemTemplateSelector () : DataTemplateSelector
private function set SelectionBoxItemTemplateSelector (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 |
|
Metadata properties set to true |
None |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.