Skip to main content

ShowingDockHintsEventArgs.Disable(DockHint) Method

Disables the DockHint.

Namespace: DevExpress.Xpf.Docking.Base

Assembly: DevExpress.Xpf.Docking.v21.2.dll

Declaration

public void Disable(
    DockHint hint
)

Parameters

Name Type Description
hint DockHint

The DockHint that should be disabled.

Remarks

The following code sample disables the SideBottom Dock Hint:

<dx:ThemedWindow
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <dxdo:DockLayoutManager x:Name="DockLayoutManager1" ShowingDockHints="DockLayoutManager1_ShowingDockHints">
    ...
  </dxdo:DockLayoutManager>
</dx:ThemedWindow>
private void DockLayoutManager1_ShowingDockHints(object sender, DevExpress.Xpf.Docking.Base.ShowingDockHintsEventArgs e)
  {
    e.Disable(DockHint.SideBottom);         
  }
See Also