Click or drag to resize

ConstantDisplayCondition Class

A display condition that evaluates to a user-defined value. This is commonly used to hide primitives by assigning to a primitive a display condition that always returns false.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.GraphicsDisplayCondition
    AGI.Foundation.GraphicsConstantDisplayCondition

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public sealed class ConstantDisplayCondition : DisplayCondition

The ConstantDisplayCondition type exposes the following members.

Constructors
  NameDescription
Public methodConstantDisplayCondition
Initializes a default constant display condition. Display is set to false so when this display condition is assigned to an object, such as a primitive, the object is not rendered.
Public methodConstantDisplayCondition(Boolean)
Initializes a constant display condition with the value the display condition evaluates to.
Top
Properties
  NameDescription
Public propertyDisplay
Gets or sets the value the display condition evaluates to.
Top
Methods
  NameDescription
Public methodDispose (Inherited from DisplayCondition.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also