ItemsView<TVisual>.CreateDefault(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a default TVisual
instance for item
.
protected abstract TVisual CreateDefault (object item);
abstract member CreateDefault : obj -> 'Visual
Parameters
- item
- System.Object
The user object
Returns
TVisual
An instance of the TVisual
class.
Implements
Remarks
This method is called by the templating system when ItemTemplate is null
.
The BindingContext of the returned object will automatically be set to item
, there is no need to set it yourself. If you do, it will be overridden.