SectionAttribute Class

Definition

On Reflection-based UIs, this attribute can be applied to a member to start a new section.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, Inherited=false)]
public class SectionAttribute : Attribute
type SectionAttribute = class
    inherit Attribute
Inheritance
SectionAttribute
Attributes

Remarks

[Preserve (AllMembers=true)] class Settings {

[Section ("Account", "Your credentials")]

[Entry ("Enter your login name")] public string Login;

[Password ("Enter your password")] public string Password;

[Section ("Image Selection")] public UIImage Top; public UIImage Middle; public UIImage Bottom;

}

Constructors

SectionAttribute()
SectionAttribute(String)
SectionAttribute(String, String)

Fields

Caption
Footer

Applies to