Skip to content

dev merge master #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 52 commits into from
May 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
4bf26d3
Merge pull request #148 from WPFDevelopersOrg/master
yanjinhuagood Mar 15, 2025
8712dbc
Fix issue (#150 )
yanjinhuagood Mar 22, 2025
200f06d
Fix issue dragging window white background
yanjinhuagood Mar 22, 2025
8e7b542
Fix issue (#152, #153 )
yanjinhuagood Mar 29, 2025
72db868
Update Resources.cs
yanjinhuagood Mar 29, 2025
d75588a
Fix issue (#152 )
yanjinhuagood Mar 29, 2025
e277d5e
Fix issue #151
yanjinhuagood Mar 29, 2025
1d50376
Fix Bug
yanjinhuagood Mar 29, 2025
c5024ed
Fix issue( #154 )
yanjinhuagood Mar 29, 2025
957574d
Update DateRangePicker.cs
yanjinhuagood Mar 29, 2025
a782c33
Fix issue( #154 )
yanjinhuagood Mar 29, 2025
551179f
Update MultiSelectSearchComboBox.cs
yanjinhuagood Mar 29, 2025
b06d218
Update TimePicker.cs
yanjinhuagood Mar 29, 2025
1fd50b7
Update MultiSelectSearchComboBox.xaml
yanjinhuagood Mar 29, 2025
6f5ea66
Update TimePicker.xaml
yanjinhuagood Mar 29, 2025
0fe2a58
Update MultiSelectComboBox.cs
yanjinhuagood Apr 3, 2025
729d852
Fix issue (#156 )
yanjinhuagood Apr 3, 2025
eb8b167
Fix issue( #155 )
yanjinhuagood Apr 3, 2025
57cddf3
Fix issue (#156 )
yanjinhuagood Apr 6, 2025
e1a05f4
Update MultiSelectComboBox.cs
yanjinhuagood Apr 6, 2025
e5ab769
add in loaded animation
yanjinhuagood Apr 7, 2025
0c78d91
remove redundant xaml tag
zhaotianff Apr 8, 2025
fdba57f
update in CodeViewer
yanjinhuagood Apr 17, 2025
bdb82fe
Merge branch 'dev' of https://github.com/WPFDevelopersOrg/WPFDevelope…
yanjinhuagood Apr 17, 2025
c137bd5
Update CodeViewer.xaml
yanjinhuagood Apr 17, 2025
23fca5d
add in example header
yanjinhuagood Apr 17, 2025
31b6ca4
add in example header
yanjinhuagood Apr 17, 2025
361351f
Bubble moves from WD to sample
yanjinhuagood Apr 17, 2025
3aafdc8
Bubble moves from WD to sample
yanjinhuagood Apr 17, 2025
f0e6c76
Update BubbleControl.cs
yanjinhuagood Apr 21, 2025
836c5f3
Update BubblleCanvas.cs
yanjinhuagood Apr 21, 2025
f5d0b20
Update BubblleControl.xaml
yanjinhuagood Apr 21, 2025
b812db5
Update BubblleControlExample.xaml
yanjinhuagood Apr 21, 2025
1cabdca
Update EdgePage.xaml
yanjinhuagood Apr 21, 2025
c5dd596
Update WPFDevelopers.SamplesCode.csproj
yanjinhuagood Apr 21, 2025
50f4e9a
Update ThermometerExample.xaml
yanjinhuagood Apr 21, 2025
9e260e4
Update TaskbarItemInfoExample.xaml.cs
yanjinhuagood Apr 21, 2025
e5bbf92
Update TaskbarItemInfoExample.xaml
yanjinhuagood Apr 21, 2025
e02f5e8
Update ScreenCutAdorner.cs
yanjinhuagood Apr 21, 2025
a34cac8
Update MultiSelectComboBox.cs
yanjinhuagood Apr 21, 2025
b45a529
Update MultiSelectComboBox.cs
yanjinhuagood May 8, 2025
a54014f
Update Styles.Buttons.xaml
yanjinhuagood May 8, 2025
6032e5c
Update Styles.DatePicker.xaml
yanjinhuagood May 8, 2025
eb17b12
Update Styles.TabControl.xaml
yanjinhuagood May 8, 2025
f50b95c
Fix issue (#157) & ( #158 )
yanjinhuagood May 8, 2025
0caf88f
Create NavScrollPanel Control
yanjinhuagood May 8, 2025
b5c3c8b
Update Theme.xaml
yanjinhuagood May 8, 2025
fe62c6e
Update Theme.xaml
yanjinhuagood May 8, 2025
18216cc
Create NavScrollPanel Example
yanjinhuagood May 8, 2025
9ff4235
Update Resources.cs
yanjinhuagood May 8, 2025
0c13c07
Create Grid Background
yanjinhuagood May 8, 2025
8ff7d8e
Update Package.props
yanjinhuagood May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Package.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<PackageId>WPFDevelopers</PackageId>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Copyright>Copyright © WPFDevelopersOrg 2024</Copyright>
<AssemblyVersion>1.1.0.2</AssemblyVersion>
<FileVersion>1.1.0.2</FileVersion>
<Version>1.1.0.2</Version>
<Copyright>Copyright © WPFDevelopersOrg 2025</Copyright>
<AssemblyVersion>1.1.0.3</AssemblyVersion>
<FileVersion>1.1.0.3</FileVersion>
<Version>1.1.0.3</Version>
<RepositoryUrl>https://github.com/WPFDevelopersOrg/WPFDevelopers</RepositoryUrl>
<Configurations>Debug;Release;Debug-.NET40;Release-.NET40</Configurations>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,37 @@
x:Key="WD.DefaultTreeView"
BasedOn="{StaticResource WD.ControlBasicStyle}"
TargetType="{x:Type TreeView}">
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Background" Value="{DynamicResource WD.BackgroundBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource WD.BaseBrush}" />
<Setter Property="Padding" Value="{StaticResource WD.Padding}" />
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
<Setter Property="ScrollViewer.PanningMode" Value="Both" />
<Setter Property="Stylus.IsFlicksEnabled" Value="False" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TreeView">
<ControlTemplate TargetType="{x:Type TreeView}">
<controls:WDBorder
Padding="{TemplateBinding Padding}"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="{Binding Path=(helpers:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
SnapsToDevicePixels="True">
<ScrollViewer
CanContentScroll="False"
<controls:WDScrollViewer
x:Name="PART_ScrollViewer"
Padding="{TemplateBinding Padding}"
Background="{TemplateBinding Background}"
Clip="{Binding RelativeSource={RelativeSource AncestorType=controls:WDBorder}, Path=ContentClip}"
Focusable="False">
Focusable="False"
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
IsScrollAnimation="{Binding Path=(helpers:TreeViewHelper.IsScrollAnimation), RelativeSource={RelativeSource TemplatedParent}}"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}">
<ItemsPresenter />
</ScrollViewer>
</controls:WDScrollViewer>
</controls:WDBorder>
</ControlTemplate>
</Setter.Value>
Expand Down Expand Up @@ -125,13 +134,10 @@
BasedOn="{StaticResource WD.ControlBasicStyle}"
TargetType="{x:Type TreeViewItem}">
<Setter Property="Background" Value="Transparent" />
<Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
<Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
<Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
<Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
<Setter Property="Padding" Value="{Binding Padding, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ItemsControl}}}" />
<Setter Property="FocusVisualStyle" Value="{StaticResource WD.TreeViewItemFocusVisual}" />
<Setter Property="FontSize" Value="{Binding RelativeSource={RelativeSource AncestorType=TreeView}, Path=FontSize}" />
<Setter Property="FontWeight" Value="{Binding RelativeSource={RelativeSource AncestorType=TreeView}, Path=FontWeight}" />
<Setter Property="FontFamily" Value="{Binding RelativeSource={RelativeSource AncestorType=TreeView}, Path=FontFamily}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TreeViewItem}">
Expand All @@ -143,12 +149,12 @@
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<ToggleButton
x:Name="Expander"
ClickMode="Press"
IsChecked="{Binding IsExpanded, RelativeSource={RelativeSource TemplatedParent}}"
IsChecked="{Binding IsExpanded, RelativeSource={RelativeSource Mode=TemplatedParent}}"
Style="{StaticResource WD.ExpandCollapseToggleStyle}" />
<Border
x:Name="PART_Border"
Expand All @@ -162,7 +168,8 @@
<ContentPresenter
x:Name="PART_Header"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
ContentSource="Header" />
ContentSource="Header"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
</Border>
<Border
x:Name="PART_ItemsHost"
Expand Down Expand Up @@ -206,15 +213,16 @@
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsSelected" Value="True" />
<Condition Property="IsSelectionActive" Value="False" />
<Condition SourceName="PART_Border" Property="IsMouseOver" Value="True" />
</MultiTrigger.Conditions>
<Setter TargetName="PART_Border" Property="Background" Value="{DynamicResource WD.BackgroundBrush}" />
<Setter TargetName="PART_Border" Property="Background" Value="{DynamicResource WD.BaseMoveBrush}" />
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<Style BasedOn="{StaticResource WD.DefaultTreeView}" TargetType="{x:Type TreeView}" />
<Style BasedOn="{StaticResource WD.DefaultTreeViewItem}" TargetType="{x:Type TreeViewItem}" />
</ResourceDictionary>
5 changes: 5 additions & 0 deletions src/WPFDevelopers.Net40/Themes/Generic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type wd:Window}">
<ControlTemplate.Resources>
<Style TargetType="Grid">
<Setter Property="Background" Value="Transparent" />
</Style>
</ControlTemplate.Resources>
<Border
Name="PART_Border"
Background="{TemplateBinding Background}"
Expand Down
Loading