How to Create a Basic Custom View

Glossary Item Box

Infragistics(R) NetAdvantage(R) for WPF

How to Create a Basic Custom View

To create a basic xamDataPresenter™ Custom View:

  1. Derive a class from ViewBase and override virtual properties and methods on the base class to provide values that define the capabilities of your View and the services that xamDataPresenter should perform on behalf of the View.
  2. Create a derived Panel class that arranges items for your View.  Return this derived panel's type from your Custom View's implementation of the protected abstract ItemsPanelType property.
  3. Implement the IViewPanel interface on your Layout Panel.  This interface provides support for scrolling as well as page, record and cell navigation.   

The following are optional steps for creating a Custom View:

 

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