Visual Basic (Declaration) | |
---|---|
Public Property Visible As Boolean |
C# | |
---|---|
public bool Visible {get; set;} |
Property Value
The default value is true.Setting this property also sets the Part.Visibility
property to either Visibility.Visible
or Visibility.Collapsed
.
Caution: because the UIElement.Visibility
of the Part may be set independently of this property, the value of this property may not reflect the value of Part.Visibility
. This property is most useful in templates for setting the initial value of Visibility
for the part.