Giter VIP home page Giter VIP logo

devexpress-examples / xaf-how-to-display-an-enumeration-property-as-a-drop-down-box-with-check-boxes Goto Github PK

View Code? Open in Web Editor NEW
2.0 55.0 3.0 331 KB

Display an enumeration property as a drop-down box with checkboxes in your XAF ASP.NET Core Blazor application.

License: Other

C# 76.69% HTML 23.05% Batchfile 0.26%
dotnet xaf framework ef-core expressapp expressapp-framework expressappframework

xaf-how-to-display-an-enumeration-property-as-a-drop-down-box-with-check-boxes's Introduction

XAF - How to Display an Enumeration Property as a Check List

This example demonstrates how to create a custom Property Editor that displays an enumeration property as a check list. The enumeration type must be declared with a FlagsAttribute (allows to treat this enumeration as a set of flags).

image

Warning

We created this example for demonstration purposes and it is not intended to address all possible usage scenarios with it. If this example does not have certain functionality or you want to change its behavior, you can extend this example as needed. Please note that this can be a complex task that requires good knowledge of XAF: UI Customization Categories by Skill Level. You will likely need to research how our components work under the hood. Refer to the following help topic for more information: Debug DevExpress .NET Source Code with PDB Symbols. We are unable to help with such tasks as custom programming is outside our Support Service scope: Technical Support Scope.

Implementation Details

XAF does not have a built-in Property Editor for enumeration properties that can store several values at once. You need to implement a custom Property Editor that obtains the data property value and displays it in the UI with the help of a custom visual control. In an XAF Windows Forms application, the control is CheckedComboBoxEdit. In an XAF ASP.NET Core Blazor application, the control is DxListBox.

Files To Look At

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

xaf-how-to-display-an-enumeration-property-as-a-drop-down-box-with-check-boxes's People

Contributors

anastasiakiseleva avatar andreykozhevnikov avatar devexpressexamplebot avatar georgiydx avatar nikolaevairina avatar trokkin avatar

Stargazers

 avatar  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.