Table of Contents

Class MemberDesignTimeVisibilityAttribute

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

Specifies whether a property or class is visible at design time.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Field, Inherited = true)]
public sealed class MemberDesignTimeVisibilityAttribute : Attribute
Inheritance
MemberDesignTimeVisibilityAttribute
Inherited Members

Constructors

MemberDesignTimeVisibilityAttribute()

Initializes a new instance of the MemberDesignTimeVisibilityAttribute class with default settings.

public MemberDesignTimeVisibilityAttribute()

MemberDesignTimeVisibilityAttribute(bool)

Initializes a new instance of the MemberDesignTimeVisibilityAttribute class with the specified MemberDesignTimeVisibilityAttribute.IsVisible property.

public MemberDesignTimeVisibilityAttribute(bool isVisible)

Parameters

isVisible bool

true if the property or class is visible at design time; otherwise, false. This value is assigned to the MemberDesignTimeVisibilityAttribute.IsVisible property.

Properties

IsVisible

Gets whether a property or class is visible at design time.

public bool IsVisible { get; }

Property Value

bool

true if the property or class is visible at design time; otherwise, false.