SectionAttribute 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
SectionAttributeSectionAttribute
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()
SectionAttribute(String) SectionAttribute(String)
SectionAttribute(String, String) SectionAttribute(String, String)

Fields

Caption Caption
Footer Footer

Applies to