Class OpacityDockPanel
OpacityDockPanel describes the panel in the SidePanel.
Inheritance
System.Object
OpacityDockPanel
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class OpacityDockPanel : DockPanel
Examples
This example shows how to use the OpacityDockPanel in XAML. OpacityDockPanel is a part of the SidePanel.
<Syncfusion:OpacityDockPanel LastChildFill="True" Opacity="{Binding Path=ContentOpacity, RelativeSource={RelativeSource TemplatedParent}}">
<DockPanel.RenderTransform>
<TransformGroup>
<TranslateTransform>
<TranslateTransform.X>
<MultiBinding Converter="{StaticResource SideToCoordinate}" ConverterParameter="XCoordinate" >
<Binding Path="TabStripPlacement" RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="(FrameworkElement.DataContext).(Syncfusion:DockingManager.DesiredWidthInDockedMode)"
RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="ContentRenderTransformX" RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="Width" ElementName="PART_Shadow" />
<Binding Path="SidePanelBorderThickness" RelativeSource="{RelativeSource FindAncestor
, AncestorType={x:Type Syncfusion:DockingManager}}" />
</MultiBinding>
</TranslateTransform.X>
<TranslateTransform.Y>
<MultiBinding Converter="{StaticResource SideToCoordinate}" ConverterParameter="YCoordinate">
<Binding Path="TabStripPlacement" RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="(FrameworkElement.DataContext).(Syncfusion:DockingManager.DesiredHeightInDockedMode)"
RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="ContentRenderTransformY" RelativeSource="{RelativeSource TemplatedParent}" />
<Binding Path="Height" ElementName="PART_Shadow" />
<Binding Path="SidePanelBorderThickness" RelativeSource="{RelativeSource FindAncestor
, AncestorType={x:Type Syncfusion:DockingManager}}" />
</MultiBinding>
</TranslateTransform.Y>
</TranslateTransform>
<ScaleTransform ScaleX="{Binding Path=ContentScaleX, RelativeSource={RelativeSource TemplatedParent}}"
ScaleY="{Binding Path=ContentScaleY, RelativeSource={RelativeSource TemplatedParent}}"
/>
</TransformGroup>
</DockPanel.RenderTransform>
</Syncfusion:OpacityDockPanel>
Constructors
OpacityDockPanel()
Declaration
public OpacityDockPanel()
See Also
System.Windows.Controls.DockPanel