Properties marked with the Ignore attribute will force the RadDataForm to skip creating editor for them.


Here is the decoration of the source class properties:

public class Person
    [DisplayOptions(Header = "Name")]
    public string Name { get; set; } = "Peter";

    [DisplayOptions(Header = "Age")]
    public int Age { get; set; } = 30;

    public double Weight { get; set; }

Here is the data form setup:

var dataForm = new RadDataForm
    Source = new Person()

No editor will be created for the "Weight" property.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article