Share via


Slicer.DisableMoveResizeUI Property

Gets or sets whether the specified slicer can be moved or resized by using the user interface.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property DisableMoveResizeUI As Boolean
    Get
    Set
'Usage
Dim instance As Slicer
Dim value As Boolean

value = instance.DisableMoveResizeUI

instance.DisableMoveResizeUI = value
bool DisableMoveResizeUI { get; set; }

Property Value

Type: System.Boolean
true if the specified slicer can be moved or resized by using the user interface; otherwise, false. The default is false.

Remarks

Read/write.

true if the slicer cannot be moved or resized by selecting borders or handles in the user interface; otherwise false. The default value is false. Setting the DisableMoveResizeUI property to true affects only the user interface. Moving or resizing the slicer by setting properties such as the Top, Left, Width, or Height properties of the Slicer object from code is not disabled.

See Also

Reference

Slicer Interface

Slicer Members

Microsoft.Office.Interop.Excel Namespace