Udostępnij za pośrednictwem


RibbonDialogLauncher.Visible Property

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

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property Visible As Boolean
bool Visible { get; set; }

Property Value

Type: System.Boolean
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.

.NET Framework Security

See Also

Reference

RibbonDialogLauncher Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview