SectionAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, String) | |
SectionAttribute(String) |
Fields
Caption | |
Footer |