Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Specifies whether a property or event should be displayed in the Properties (or Object Editor) window. Allows specifying of a bool-providing property, field, or method which can be used to dynamically change (based upon object state) whether it is browsable or not.

Namespace: Visual3D
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class BrowsableAttribute : Attribute
Public Class BrowsableAttribute _
	Inherits Attribute

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
BrowsableAttribute()()()()
Initializes a new instance of the BrowsableAttribute class
BrowsableAttribute(Boolean)
Constructs a BrowsableAttribute that specifies true or false.
BrowsableAttribute(String)
Constructs a new BrowsableAttribute.
BrowsableAttribute(UserLevel)
Constructs a default BrowsableAttribute that specifies a minimum user level at which it is visible.
BrowsableAttribute(String, UserLevel)
Initializes a new instance of the BrowsableAttribute class
AllowsExpansionOfListElements
If element is a List type, are the elements of this list permitted to do in-place expansion?
CacheByDefault
CacheTimeout
Real-Time milliseconds before cache time's out, and result will be refreshed.
DefaultAllowsExpansionOfListElements
DefaultCacheTimeOut
DefaultUserLevel
Dependancy
DisplayName
Specifies the display name for a property.
Equals(Object)
Overrides the default equals so that matching attributes can be found in an AttributeCollection.
(Overrides Attribute..::..Equals(Object).)
GetHashCode()()()() (Overrides Attribute..::..GetHashCode()()()().)
HasCustomDisplayName
IsBrowsable(Object)
Returns true if the property is browsable on the specified owner object.
IsBrowsable(Object, Boolean)
Returns true if the property is browsable on the specified owner object.
IsCached
Indicates if the Property result is cached.
IsDebug
Indicates if it's browsable only during "Debug" mode.
IsDynamic
Indicates if the browsable state can change at runtime.
IsHiddenIfNull
IsReadOnly
Indicates if the Property value is READONLY (i.e. cannot be Modified).
UserLevel

Remarks

This attribute also serves as an alternative to the System.ComponentModel.BrowsableAttribute, one which is not sealed, has a NonBrowsableAttribute derived attribute, and which can be used without using the System.ComponentModel namespace.

Inheritance Hierarchy

See Also