ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.WPF Namespace > XAML GUI Controls and Templates > Pan > ImGearPanCtl |
The following template defines ImGearPanCtl Class control.
XAML |
Copy Code |
---|---|
<Style TargetType="{x:Type local:ImGearPanCtl}"> <Setter Property="HorizontalAlignment" Value="Left"/> <Setter Property="VerticalAlignment" Value="Top"/> <Setter Property="Visibility" Value="Collapsed"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type local:ImGearPanCtl}"> <ControlTemplate.Resources> </ControlTemplate.Resources> <Border Background="Indigo" CornerRadius="3"> <Label>ImGearPanCtl Control</Label> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> |