WKInterfaceObject.SetHidden(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Hides or displays the interface object, potentially triggering a layout refresh.
[Foundation.Export("setHidden:")]
public virtual void SetHidden (bool hidden);
abstract member SetHidden : bool -> unit
override this.SetHidden : bool -> unit
Parameters
- hidden
- Boolean
true
if the interface object is not displayed.
- Attributes
Remarks
The Watch app's layout adjusts, if necessary, to display only objects that are being shown.