123456789101112131415161718192021 |
- <ResourceDictionary xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:controls="clr-namespace:SukiUI.Controls">
- <ControlTheme x:Key="SukiTransitioningContentControlStyle" TargetType="controls:SukiTransitioningContentControl">
- <Setter Property="Template">
- <ControlTemplate>
- <Panel>
- <ContentPresenter Name="PART_FirstBufferControl"
- Content="{TemplateBinding FirstBuffer}"
- IsHitTestVisible="False" />
- <ContentPresenter Name="PART_SecondBufferControl"
- Content="{TemplateBinding SecondBuffer}"
- IsHitTestVisible="False" />
- </Panel>
- </ControlTemplate>
- </Setter>
- </ControlTheme>
- <ControlTheme x:Key="{x:Type controls:SukiTransitioningContentControl}"
- BasedOn="{StaticResource SukiTransitioningContentControlStyle}"
- TargetType="controls:SukiTransitioningContentControl" />
- </ResourceDictionary>
|