GithubHelp home page GithubHelp logo

devexpress-examples / xaf-how-to-use-tree-list-editors-to-display-list-views Goto Github PK

View Code? Open in Web Editor NEW
1.0 55.0 3.0 175 KB

How to use Tree List editors to display List Views in XAF applications

License: Other

C# 76.16% HTML 23.84%
dotnet xaf framework ef-core expressapp expressapp-framework expressappframework list-view tree-list

xaf-how-to-use-tree-list-editors-to-display-list-views's Introduction

XAF WinForms - How to Use Tree List Editors to Display List Views

This example describes how to use a tree list control to show hierarchical data in XAF WinForms applications. For this purpose, the example uses the TreeListEditor and CategorizedListEditor supplied with the TreeListEditorsWindowsFormsModule.

image

Implementation Details

The example uses the following techniques:

  1. A List View that defines objects of a type that implements the ITreeNode interface. This view is displayed by the TreeListEditor.

    Files to review:

    For details, refer to the following help topics: TreeList Editors Module and Display a Tree List using the ITreeNode interface.

  2. A List View that defines objects of a type that implements the ICategorizedItem interface. This view is displayed by the CategorizedListEditor.

    Files to review:

    • The Issue class
    • The CategoryWithIssues class that is related to the previous class by a one-to-many relationship.

    For details, refer to the following topic: Categorized List.

  3. A List View that defines objects of the HCategory type, supplied with the Business Class Library. This view is displayed by the TreeListEditor. The HCategory class is added to the application's business model using the following API: Ways to Add a Business class.

    For details, refer to the following topic: Display a Tree List using the HCategory class.

Important Notes

Pay attention to the following KB article: Layout - There are circumstances that cause the "Error creating window handle" error to occur when you alter the MasterDeailMode option.

Files to Review

More Example

xaf-how-to-use-tree-list-editors-to-display-list-views's People

Contributors

andreykozhevnikov avatar devexpressexamplebot avatar nikolaevairina avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.