| Infragistics.Windows.DataPresenter Namespace : XamDataPresenter Class (Infragistics.Windows.DataPresenter) |
A Infragistics.Windows.DataPresenter.DataPresenterBase derived control that can display data using different 'views', depending on the setting of its View property.
For a list of all members of this type, see XamDataPresenter members.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
[Visual Basic]
Public Class XamDataPresenter
Inherits DataPresenterBase
Implements ICommandHost, IViewPanelInfo, IResizeHost, IDeferredScrollHost, ISelectionHost, IElement [C#]
public class XamDataPresenter : DataPresenterBase, ICommandHost, IViewPanelInfo, IResizeHost, IDeferredScrollHost, ISelectionHost, IElement The control can use either of the two views shipped with NetAdvantage for WPF 7.1 - GridView and CarouselView as well as any ViewBase derived view. You can extend the ViewBase class to provide additional custom views. Refer to the Creating Custom Views for XamDataPresenter topic in the Developer's Guide for an explanation of how to create your own custom views.
Unlike XamDataCarousel and XamDataGrid, this control supports dynamically changing the view at both design time and run time. To change the View used by the control at designtime or runtime, simply set the control's View property to an instance of a GridView, CarouselView or a custom ViewBase derived object
Using the XamDataPresenter control with either a GridView or a CarouselView (but not switching between them) is functionally equivalent to using a XamDataGrid or XamDataCarousel control. If you need the flexibility to switch between these Views (or any future Views that Infragistics may release) or if you want to use a custom view that you have created, then the XamDataPresenter is the control to use. If however, your application only needs a Grid or Carousel view, you may want to choose a XamDataGrid or XamDataCarousel control since it is a bit more convenient to use - you can access the View's ViewSettings property directly off the control without having to drill into the View itself.
Refer to the Theory of Operation topic in the Developer's Guide for an explanation of how this control operates.
Refer to the Working with xamDataGrid, xamDataCarousel and xamDataPresenter Styling Points topic in the Developer's Guide for an explanation of how to style the control.
Refer to the Carousel Architecture Overview topic in the Developer's Guide for an explanation of how Carousel presentation works.
XamDataPresenter Members | Infragistics.Windows.DataPresenter Namespace | ViewBase Class | GridView Class | GridViewSettings Class | CarouselView Class | CarouselViewSettings Class | View Property | XamDataCarousel Class | XamDataGrid Class