Coder Social home page Coder Social logo

fluent-ui-xaml's People

Contributors

adolfo-marinucci avatar adospace 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

fluent-ui-xaml's Issues

XamlParseException when ComboBox IsEditable set to true

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>

Great project, please add "fluentui:FabricExtra.ErrorMessage" to all inpunt controls

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!

Rename it to FluentUI

Hi. You should consider renaming this repo to FluentUI, and nuget with it, since the official naming changed few months back. Thanks

System.InvalidCastException when DataGrid's AutoGenerateColumns set to True

Steps to reproduce:

  1. Create a DataGrid with AutoGenerateColumns set to True
  2. Bind it to a collection of objects for which not all columns have column definitions defined explicitly

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

No way to override colours

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.

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.