ItemsView.EmptyView Property
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.
Gets or sets the view or object to display when the ItemsSource is empty or null.
public:
property System::Object ^ EmptyView { System::Object ^ get(); void set(System::Object ^ value); };
public object EmptyView { get; set; }
member this.EmptyView : obj with get, set
Public Property EmptyView As Object
Property Value
The empty view content, which can be a string, view, or any object. Use EmptyViewTemplate to customize rendering.
Remarks
The empty view provides user feedback when there are no items to display. If EmptyViewTemplate is set, it is used to render the empty view; otherwise, the object's string representation or the view itself is displayed.