New to Telerik UI for Xamarin? Download free 30-day trial

IgnoreAttribute

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

Example

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;

    [Ignore]
    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

In this article