adospace / fluent-ui-xaml Goto Github PK
View Code? Open in Web Editor NEWFluent UI WPF theme library
License: MIT License
Fluent UI WPF theme library
License: MIT License
Steps to reproduce:
Add a ComboBox to a view and set property IsEditable to True
Expected result:
ComboBox in edit mode is rendered
Actual result:
XamlParseException is thrown - FabricComboBoxEditableTextBox resource cannot be found
Workaround:
Add the following style to merged dictionaries after FabricUI.TextBox.xaml and before FabricUI.ComboBox.xaml:
<Style x:Key="FabricComboBoxEditableTextBox" TargetType="{x:Type TextBox}" BasedOn="{StaticResource FabricTextBoxStyle}">
<Setter Property="BorderThickness" Value="0,1,0,1"/>
<Setter Property="BorderBrush" Value="{StaticResource Neutral.Gray130}" />
</Style>
Hi @adolfo-marinucci, thanks for this nice project which lets me easily modernize my older WPF appliction. I can give it the look&feel of my other Fleunt UI based projects.
Have you considered adding the fluentui:FabricExtra.ErrorMessage
option (and required flag) to other input controls like ListBox, ComboBox etc?
If I have time I will give it a try, but current project presure leaves little or no space.
Thank you!
Hi. You should consider renaming this repo to FluentUI, and nuget with it, since the official naming changed few months back. Thanks
It should only require to define different colors: https://developer.microsoft.com/en-us/fluentui#/controls/web/link
Steps to reproduce:
Expected result:
DataGrid successfully generates missing columns
Actual result:
System.InvalidCastException
HResult=0x80004002
Message=Unable to cast object of type 'System.Windows.Controls.DataGridColumnCollection' to type 'System.Windows.Controls.DataGrid'.
Source=FluentUI
StackTrace:
at FluentUI.FabricHelper.<>c.<OnTextColumnStyleChanged>b__3_0(Object s, NotifyCollectionChangedEventArgs eventArgs)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
(...)
In FabricHelper.cs line 69 event sender is casted to DataGrid. When DataGrid adds a column automatically, sender is actually a DataGridColumnCollection
Referenced assembly 'FluentUI.NET, Version=1.0.51.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
As the brushes are hard coded into the FabricUI, and all references to the brushes as via StaticResource, one cannot override the brush colours. I was trying to do this to get a dark mode, but was unable to change any of the colours.
NuGet package v1.0.39 for .NET Core 3.1 contains changes from fluentui/desktop.
Release versions should follow master branch, as currently it leads to issues when trying to follow the example project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.