Giter Site home page Giter Site logo

wpfdevelopers's Introduction

中文

dotnet-version Visual Studio 2019 Visual Studio 2022 Github nuget-version nuget-version Github stars Downloads

Welcome to WPFDevelopers

Please use the preview Nuget package for the latest

Visual Studio 2022

.Net Version

.Net Version Status
Net40
net45
net46
net47
net48
netcoreapp3.0
net5.0-windows
net6.0-windows
net7.0-windows
net8.0-windows

Donate

If you think our open source software is helpful to you, please scan the QR code below and give us a cup of coffee.

Alipay WeChat pay

Backers

Conscientious loridoo yaunchen 王菅物 清梦 zhangjingcheng dotnet9 罗海钧

Contributors

ChisterWu ChisterWu huangjia2107 liukaishuang TwilightLemon githowe LuGuangguang DinoChan mingyaodagege PettyHandSome 丑萌气质狗 李伟 SwaggyMacro guanguanchuangyu

This is a UI library for WPF developers based on WPF custom advanced controls. Welcome to use..

how to use:

Step 1: Add nuget;

Install-Package WPFDevelopers

Step 2: Add nodes to App.xaml;

xmlns:wd="https://github.com/WPFDevelopersOrg/WPFDevelopers"
<Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Light.Blue.xaml"/>
                    <!--需要注意 wd:Resources 必须在配色主题后,Theme="Dark" 为黑色皮肤-->
                    <wd:Resources Theme="Light"/>
                    <ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Theme.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

Step 3: Add the namespace;

xmlns:wd="https://github.com/WPFDevelopersOrg/WPFDevelopers"


IPEditBox


TransformLayout


ScreenCaptureExt


TimePicker


ColorPicker


NumericBox


PathIcon


Window


Message


Badge


GrayscaleEffect


CropImage


BreakCrumbBar


MultiSelectionSearchComboBox


ScrollIntoView.IsPosition


ControlLoading


BasicControlLoading


WindowMask


ControlMask


MultiSelectComboBox


Step


Magnifier


GrayscaleEffect


NineGridView


CodeViewer


NotifyIcon


WindowAcrylicBlur


Barrage


CanvasHandWriting


Bubblle


PanningItems


Shake


StarrySky


CropAvatar


ScreenCut


AnimationAudio


VerifyCode


EdgeLight


DrawPrize


DesktopPlayVideo


CropControl


NumberCard


CountdownTimer


SpeedRockets


SnowCanvas


WPFBreatheLight


Thermometer


RingLoading


RoundPicker


LogoAnimation


LineChart


RainbowButtons


Ruler


ZooSemy


BasicBarChart


RadarChart


DrawerMenu


SpotLight


TransitionPanel


OtherControl


EmphasizerCarousel


Carousel


ScrollViewerAnimation


RollLoading


CycleLoading


Pagination


TaskbarItemInfo


BallLoading


WpfPieControl


WpfDashboard


WpfTimeLineControl


WpfCircularProgressBar


WpfCircularMenu


WpfPasswrod


WpfChatEmojiText


WPFSongWords


ThumbDragAndAngleExample.xaml


WpfBingMap


3DAnimationNavigationBar


WpfRoundMenu


CutImageSolution


						~~end~~

wpfdevelopers's People

Contributors

chisterwu avatar cloud-yd avatar guanguanchuangyu avatar lifuhua123 avatar lovewanli avatar luguangguang avatar swaggymacro avatar yanjinhuagood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wpfdevelopers's Issues

TransformThumb repositions when resized

If you rotate the rectangle by 45 degrees, for example, and then grab the lower left corner, and pull down, the upper side of the rectangle moves, something that shouldn't happen, an animated image is attached.

problem

The correct behavior should be like a Word rectangle, as in the animated image:

wordRect

Theme="Dark"窗体的Ttile颜色还是Light的,Step也不对

非常感谢作者!我使用NuGet更新了WPFDevelopers到版本1.1.0.2,并在app.xaml中设置了黑皮肤。1.1.0.1版本是没问题的
<wd:Resources Theme="Dark"/>
.net框架:net6.0-windows
1.窗体的Ttile颜色还是Light的。
2.Step步骤控件在Dark也不对。
正确的:
image
错误的:
image

ScreenCapture控件建议

当加载资源字典无法写在App.xaml时,写在Window.Resources时 ScreenCapture及ScreenCut无法正常使用
<Window.Resources>

<ResourceDictionary.MergedDictionaries>

<wd:Resources Theme="Light"/>

</ResourceDictionary.MergedDictionaries>

</Window.Resources>

使用DataGrid时vs控制台报错

System.Windows.Data Error: 1 : Cannot create default converter to perform 'one-way' conversions between types 'System.Windows.Media.Brush' and 'System.Windows.Media.Color'. Consider using Converter property of Binding. BindingExpression:Path=Background; DataItem='DataGridRow' (Name=''); target element is 'SolidColorBrush' (HashCode=5096933); target property is 'Color' (type 'Color')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='#FFFFFFFF' BindingExpression:Path=Background; DataItem='DataGridRow' (Name=''); target element is 'SolidColorBrush' (HashCode=5096933); target property is 'Color' (type 'Color')

有没有类似安卓的RecyclerView 控件

安卓上有一个RecyclerView 控件,以瀑布流的形式流畅加载各种大图片,资源占用也很低。VirtualizingPanel 原理上应该可以实现,但我看了一个wpf 的UI 库,好像都没有类似的控件可以实现这个需求。

ToggleButton建议

ToggleButton希望可以把为true的时候自己改背景色,接口留出来。谢谢华哥

gif 动画问题

在 gif动画 demo中,gpu会非常高,希望这个bug能修复下;

ScreenCut截图时屏幕会闪烁问题

截图时屏幕会闪烁,让人难受(有点强迫症),所以可以通过给窗体设置AllowTransparency为True,对闪烁问题有一定的缓解;ResizeMode="NoResize" 也能缓解闪烁;

image

请求增加一个功能丰富的色彩器应用库

wpf公共库麻烦再加一个颜色应用库。
提供标准颜色器功能
01———识色
02———颜色转换RGB HSL HSV等

03———其他的对比色,互补色,临近色等在色轮上辅助显示。

04———提供图象画面颜色面积计算。

05———提供分析画面颜色或无色图在0.0.0-1.1.1之间的分布遮照显示

06———允许图像颜色整体或两端重新映射到指定区间30.30.30-240.240.240生成新图

07———图像颜色检查整体在自定义区间30.30.30-240.240.240遮罩标示哪些地方超出了区间,区间要能自定义最好别写死

我在使用Badge时更新了Text文本内容,但是Badge UI未能及时更新。请问可能出现这种情况的原因是什么,我该如何解决?

  • Nuget包 :WPFDevelopers -Version 1.1.0.2-preview3
  • .Net 4.5.1

前台代码如下

<Button
                    Width="100"
                    Margin="10,0"
                    wd:Badge.FontSize="12"
                    wd:Badge.IsShow="{Binding ElementName=MyBadgeToggleButton, Path=IsChecked}"
                    wd:Badge.Text="{Binding Text,RelativeSource={RelativeSource AncestorType=UserControl}}"
                    Content="Success"
                    Click="myButton_Click" 
                    Style="{DynamicResource WD.SuccessDefaultButton}" />

逻辑代码如下

  • 我在点击按钮时候更新Text,但是UI未更新。
        public string Text
        {
            get { return (string)GetValue(TextProperty); }
            set { SetValue(TextProperty, value); }
        }

        public static readonly DependencyProperty TextProperty =
            DependencyProperty.Register("Text", typeof(string), typeof(BadgeExample), new PropertyMetadata("3"));

        private void myButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            Text = "10";
        }

image

IPEditBox 功能需要继续完善

对标微软操作系统的IP输入框,有下列项需要修改:

  • 键盘←→可以空光标移动
  • 任意位置可复制整段IP地址,且支持x.x.x.x格式的粘贴赋值
  • 删除字符会自动向左移动焦点

NotifyIcon 更换黑白皮肤后菜单皮肤未更改

Nuget包版本:WPFDevelopers -Version 1.1.0.2-preview
现象复现步骤:

  • 1.默认创建Window设置NotifyIcon,右下角可以正常显示托盘。
  • 2.这个时候点击托盘图标右键时会显示菜单。
  • 3.当我切换为黑皮肤时再次点击托盘右键还是默认显示白皮肤。

为什么地图控件的卫星图无法加载

你好,我在模仿该库的做法来使用微软的MapControl,该控件有一个Mode属性,设置成Road则可以正常显示,而设置成Aerial就无法正常加载,奇怪的是在xaml设计器中可以看到预览,但是运行后加载不出。
<m:Map x:Name="map" CredentialsProvider="xxxxx"
Mode="Aerial" ZoomLevel="15" Center="32.0354, 118.8203">
</m:Map>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.