Compartilhar via


RibbonDialogLauncher.Visible Property

Definition

Gets or sets a value that indicates whether this RibbonDialogLauncher is visible.

public:
 property bool Visible { bool get(); void set(bool value); };
public bool Visible { get; set; }
member this.Visible : bool with get, set
Public Property Visible As Boolean

Property Value

true if the RibbonDialogLauncher is visible; otherwise, false.

Remarks

A RibbonDialogLauncher is displayed in the lower-right corner of a group by default. When a RibbonDialogLauncher is in this default position, the Visible property determines whether this RibbonDialogLauncher is visible.

However, the Visible property has no effect when the RibbonDialogLauncher is displayed on the Quick Access Toolbar. For example, if both the Quick Access Toolbar and the group to which the RibbonDialogLauncher belongs are visible, then setting the Visible property to false will cause the RibbonDialogLauncher on the group to disappear, but the one on the Quick Access Toolbar will remain visible.

In addition, setting the Visible property to false does not affect whether the RibbonDialogLauncher on the Quick Access Toolbar is enabled. To disable it, set its Enabled property to false.

Applies to