C# Class GoogleCloudExtension.Theming.ButtonsList

This class was created to be able to force the ItemsControl to apply the data templates, and template selector, to the items even if they are FrameworkElement instances.
Inheritance: System.Windows.Controls.ItemsControl
Show file Open project: GoogleCloudPlatform/google-cloud-visualstudio

Protected Methods

Method Description
IsItemItsOwnContainerOverride ( object item ) : bool

Ensures that all items have the data templates, and template selectors, applied to them.

Method Details

IsItemItsOwnContainerOverride() protected method

Ensures that all items have the data templates, and template selectors, applied to them.
protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
return bool