See Also

DataPresenterBase Members  | Infragistics.Windows.DataPresenter Namespace  | XamDataCarousel Class  | XamDataGrid Class  | XamDataPresenter Class

Language

Visual Basic

C#

Show All

See Also Languages Infragistics3.Windows.DataPresenter.v7.1

DataPresenterBase Class

Infragistics.Windows.DataPresenter Namespace : DataPresenterBase Class

Base class for the XamDataGrid, XamDataCarousel and XamDataPresenter controls.

For a list of all members of this type, see DataPresenterBase members.

Object Model

















Syntax

[Visual Basic]
Public MustInherit Class DataPresenterBase    Inherits IGControlBase    Implements ICommandHostIViewPanelInfoIResizeHostIDeferredScrollHostISelectionHost, IElement 
[C#]
public abstract class DataPresenterBase : IGControlBase, ICommandHostIViewPanelInfoIResizeHostIDeferredScrollHostISelectionHost, IElement 

Remarks

The look of these controls can be easily changed by setting the Theme property. In addition, several styling points are exposed to allow fine grained control of the UI. Styles keyed by these types can be placed anywhere in the resource chain or can be specified directly through the control's object model via the properties described in the following list.

In addition there are styling points that are specific to XamDataCarousel and XamDataPresenter in CarouselView. They are:

Note: An instance of a Infragistics.Windows.Editors.ValueEditor derived class is normally created and positioned inside a Infragistics.Windows.DataPresenter.CellValuePresenter's visual tree within a ContentPresenter that has its name set to 'PART_EditorSite'. The type of editor to use and its style can be specified via the FieldSettings' FieldSettings.EditorType, FieldSettings.EditAsType, FieldSettings.EditorStyle and FieldSettings.EditorStyleSelector properties. These can also be specified on a cell by cell basis via the Infragistics.Windows.DataPresenter.Cell's Cell.EditAsType, Cell.EditorType and Cell.EditorStyle properties. These cell specific properties would normally be set from inside an InitializeRecord event handler.

Refer to the Theory of Operation topic in the Developer's Guide for an explanation of how this control operates.

See Also

DataPresenterBase Members  | Infragistics.Windows.DataPresenter Namespace  | XamDataCarousel Class  | XamDataGrid Class  | XamDataPresenter Class

E-mail your feedback on this topic.

Opinion about our help? Take our survey.

Copyright © 2003-2007 Infragistics, Inc. All rights reserved.

Build Version: 7.1.20071.1320