|
|
|
VisibleAppearance Property, GenericPartClass Class |
Returns the visibility status of the part.
Syntax GenericPartClass Class (Softelvdm.Controls)
VB |
Public Property VisibleAppearance As VisibleAppearanceEnum |
C# |
public VisibleAppearanceEnum VisibleAppearance { get; set; } |
C++ |
public: property VisibleAppearanceEnum VisibleAppearance { |
Property Value
The visible appearance.
Value |
Description |
|
0 | The part is always visible. | |
1 | The part is only visible if the mouse cursor is within the cell. The space occupied by the part is allocated and reserved, even if the part is not visible. | |
2 | The part is only visible if the mouse cursor is within the part. The space occupied by the part is allocated and reserved, even if the part is not visible. | |
3 | The part is only visible if the object owning the part (usually a cell) is selected. The space occupied by the part is allocated and reserved, even if the part is not visible. | |
4 | The part is only visible if the object owning the part (usually a cell) is hot-tracked (flyby object). The space occupied by the part is allocated and reserved, even if the part is not visible. | |
5 | The part is never visible. This is usually used to temporarily hide a part, without the need to remove and add it. No space is allocated or reserved for the part when the part is not visible. | |
6 | The part is only visible if the object owning the part (usually a cell) is selected. No space is allocated or reserved for the part when the part is not visible. |
The default value is VisibleAppearanceEnum.Always.
Comments
The VisibleAppearance property returns the visibility status of the part.
Parts are not necessarily always visible. The exact behavior of the part is defined through the VisibleAppearance property.
Derived classes can determine the current visibility status of a part, based on the part's VisibleAppearance property, by using the GetVisible method.
Version Information
Supported in version 1.0.
Products Table