'Declaration Public MustInherit Class ViewBase Inherits System.Windows.FrameworkContentElement
public abstract class ViewBase : System.Windows.FrameworkContentElement
ViewBase derived objects are used by the XamDataCarousel, XamDataGrid, XamDataCards and XamDataPresenter to provide settings and defaults that DataPresenterBase (the base class for the XamDataCarousel, XamDataGrid, XamDataCards and XamDataPresenter controls) can query when it provides UI element generation and field layout generation services in support of the View.
While the ViewBase object is not actually reponsible for arranging items, it does expose a property called ItemsPanelType that returns the System.Windows.Controls.Panel derived type that should be used to provide layout functionality for DataRecords displayed in the view. DataPresenterBase will ensure that a panel of ItemsPanelType is generated for use by the embedded RecordListControl (the System.Windows.Controls.ListBox derived class used to display DataRecords)
Note: Three ViewBase derived views are included in this version of the controls:
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2