Add project files.

This commit is contained in:
Ankitkumar Satapara
2026-04-17 22:31:58 +05:30
commit 21aaef6776
473 changed files with 50152 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Nodify">
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
<Style TargetType="{x:Type local:GroupingNode}">
<Setter Property="Background">
<Setter.Value>
<SolidColorBrush Color="#3E3E42"
Opacity=".5" />
</Setter.Value>
</Setter>
<Setter Property="Foreground"
Value="White" />
<Setter Property="HeaderBrush"
Value="#1E1E1E" />
<Setter Property="BorderBrush"
Value="Transparent" />
<Setter Property="Padding"
Value="7 3" />
<Setter Property="VerticalAlignment"
Value="Center" />
<Setter Property="HorizontalAlignment"
Value="Center" />
<Setter Property="MinHeight"
Value="30" />
<Setter Property="MinWidth"
Value="150" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type local:GroupingNode}">
<Border BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="3">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"
MinHeight="30" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Border Background="{TemplateBinding HeaderBrush}"
Cursor="SizeAll"
CornerRadius="3 3 0 0"
x:Name="PART_Header">
<ContentPresenter ContentSource="Header"
Margin="{TemplateBinding Padding}" />
</Border>
<Grid Grid.Row="1"
Background="{TemplateBinding Background}">
<ContentPresenter x:Name="PART_Content"
ContentSource="Content" />
<Thumb x:Name="PART_ResizeThumb"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Margin="0 0 2 2"
MinHeight="20"
Cursor="SizeNWSE"
Foreground="{TemplateBinding Foreground}"
Visibility="{TemplateBinding CanResize, Converter={StaticResource BooleanToVisibilityConverter}}">
<Thumb.Template>
<ControlTemplate>
<TextBlock Text="p"
FontFamily="Marlett"
FontSize="18" />
</ControlTemplate>
</Thumb.Template>
</Thumb>
</Grid>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>