materialdesigninxaml / materialdesigninxamltoolkit Goto Github PK
View Code? Open in Web Editor NEWGoogle's Material Design in XAML & WPF, for C# & VB.Net.
Home Page: http://materialdesigninxaml.net
License: MIT License
Google's Material Design in XAML & WPF, for C# & VB.Net.
Home Page: http://materialdesigninxaml.net
License: MIT License
Adding a search bar would be nice, or at least give me a permission to make one..
Not sure if its Textbox but the control that displays date, if edited and moved focus i get an exception:
System.InvalidOperationException {"Cannot animate '(0).(1)' on an immutable object instance."}
Hi James,
Is there support for flat icon toggles? https://www.google.co.uk/design/spec/components/buttons.html#buttons-other-buttons
Similar to those used throughout the toolbar on Google's "Inbox".
Thanks
Hi,
Like you said to me, I created another issue.
For now, I just found a bug using the PaletteHelper : the Flyout (even with theme "Accent") is White or Dark. Here is a sample project : http://www.mediafire.com/download/6mfzie0arh7o4s2/MaterialTemplateProject.zip
Have a nice day,
Clément.
Update colors package to v1.0.0.0, make themes package depend on colors package.
XAML
<TextBox Grid.Row="7"
Grid.Column="1"
Grid.ColumnSpan="10"
MaxHeight="300"
VerticalAlignment="Center"
AcceptsReturn="True"
TextWrapping="Wrap" />
Enter some text. Than press enter for 1-2 secs.
I expect a scroll bar apeared on the right.
This project needs a logo, and I'm sure there are way better designers than me who could do the task justice.
Obviously this project is open source so there would be no payment, but if anyone can provide a decent logo which suits this project then I'll link to their website/portfolio for the lifetime of this project.
What's the spec? Well, it's this project: a XAML/WPF toolkit for creating material design interfaces. I guess the logo will probably follow the material design logo guidelines.
Hi,
Like you said me here : #20 (comment)
I create another topic for TimePicker foreground.
TimePicker.Foreground = Brushes.Black is not working. VS say that he can't convert "Brushes" to "Brushes".
DatePicker.Foreground = Brushes.Black is working perfectly for DatePicker.
Thanks,
Clément.
Hello. Could you please create cool style for range slider, which is present in MA.Metro library?
As the title says would it be possible to add toolbox items for all the controls?
Error 6 The tag 'Clock' does not exist in XML namespace 'clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf'. Line 57 Position 4. D:\Paulo\Projetos\MaterialDesignInXamlToolkit-master\MaterialDesignColors.WpfExample\ProvingGround.xaml 57 4 MaterialDesignColors.WpfExample
Error 7 The property 'TextField.Hint' does not exist in XML namespace 'clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf'. Line 58 Position 6. D:\Paulo\Projetos\MaterialDesignInXamlToolkit-master\MaterialDesignColors.WpfExample\TextFields.xaml 58 6 MaterialDesignColors.WpfExample
Error 9 The property 'TextField.Hint' does not exist in XML namespace 'clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf'. Line 61 Position 6. D:\Paulo\Projetos\MaterialDesignInXamlToolkit-master\MahMaterialDragablzMashUp\TextFields.xaml 61 6 MahMaterialDragablzMashUp
Error 10 The name "Clock" does not exist in the namespace "clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf". D:\Paulo\Projetos\MaterialDesignInXamlToolkit-master\MaterialDesignColors.WpfExample\ProvingGround.xaml 57 3 MaterialDesignColors.WpfExample
Error 11 The name 'nameof' does not exist in the current context D:\Paulo\Projetos\MaterialDesignInXamlToolkit-master\MaterialDesignThemes.Wpf\DateTimeEx.cs 11 57 MaterialDesignThemes.Wpf
Error 12 The name 'nameof' does not exist in the current context D:\Paulo\Projetos\MaterialDesignInXamlToolkit-master\MaterialDesignThemes.Wpf\Converters\ClockItemIsCheckedConverter.cs 19 67 MaterialDesignThemes.Wpf
Is there any way to hide the AM/PM radios from timepicker? Thank you for your hard work.
Calendar doesn't localize, shows english names for day and month regardless of culture.
Hi James,
The attached property wpf:TextField.HintOpacity works correctly on ComboBox but does not on TextBox. I'm using version 0.93.
<ComboBox Grid.Column="0" Grid.Row="0" HorizontalAlignment="Right" Style="{StaticResource EnvCombo}" wpf:TextField.Hint="Source" wpf:TextField.HintOpacity="0.4"/>
<TextBox Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch" Style="{StaticResource MaterialDesignTextBox}" wpf:TextField.Hint="Query" wpf:TextField.HintOpacity="0.4" VerticalAlignment="Center"/>
<ComboBox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Left" Style="{StaticResource EnvCombo}" wpf:TextField.Hint="Target" wpf:TextField.HintOpacity="0.4"/>
Many thanks,
James
Looks like a fun one!
When I tried the MahApps sample, I wanted to show a message dialog, so I followed the documentation and called ShowMessageAsync to do that. But unfortunately this doesn't work, the window will dim out, but the message will not show up. Can you help me with this?
The raised buttons should have a border radius of about 2-3px, also there is no hover effect in the guidlines (so maybe just use a different cursor to indicate the hover)
http://www.google.com/design/spec/components/buttons.html#buttons-flat-raised-buttons
EDIT: Polymer is always a good reference point for this kind of stuff
https://www.polymer-project.org/0.5/components/paper-elements/demo.html#paper-button
Hi, I'm trying to set at the startup of my application the system time to the TimePicker control.
I tryed TrainingTimePicker.SelectedTime = DateAndTime.Now (where TimePicker is my control) but it don't work, te field still empty.
Can I know why please ? I'm in VB.Net
This is really important, to create some of the common appearances we see on Android.
I know there is a textbox same as in material design sample with validation included but I am very eager to know if you have plans to work on text box that will animate the watermark to short text and move it above if text is entered, as shown in link below :
http://www.google.com/design/spec/components/text-fields.html#text-fields-floating-labels
As this control will contain both label and Textbox in small area (Compared to placing a label or Textblock) this feature gives a lot of real-estate in UI.
(Signature='(null)' Version='0.0.0.102') of assembly 'MaterialDesignThemes.Wpf.dll'
when trying to create a deployment wizard. And when run it fails to load properly. I don't think this is a local issue as it used to work before I updated...
Set ToggleButton with IsChecked="True" in Xaml. Run the app and toggle the switch UI flickers and double toggles to settle.This is only for first time, from then on it works as expected. Just a minor glitch in UI.
Can't follow the documentation.
Hi,
So I added this awesome toolkit to my project. When I click a button, it should animate the entire button area right? It only animated the area around the click in a circle. Is there any setting to be done?
Just leave it here for the version 1.2, for ex. regarding to waht we descussed earlier.
Could you also implement split view for dragablz tabs like in VS to see 2 tabs near each other at the same time?
Could be useful for comparing two documents and in other cases.
As I understand, this will need to create new dragablz control and place it near the first.
Likely this will require creation of the wrapper control around dragablz, I suppose.
Sample XAML
<GroupBox Grid.Row="1"
Grid.Column="0">
<DataGrid IsReadOnly="True"
ItemsSource="{Binding Items}"
SelectedValue="{Binding SelectedItem,
Mode=TwoWay}"/>
</GroupBox>
I have Binding Errors in Console
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='-0.288220551378446' BindingExpression:Path=CellsPanelHorizontalOffset; DataItem='DataGrid' (Name=''); target element is 'Button' (Name=''); target property is 'Width' (type 'Double')
First thing to reproduse issue: you should have enough rows in DataGrid to make the horithontal scroll bar at the bottom appear;
To reproduce it just move handle of horithontal scroll bar in any dirrection.
You'll see that scroll bar left button with arrow and all data grid start jumping(Due to appearing of select all button).
Here is screenshot when button appears
Now it is Collapsed
Is there any way to use material design for data grid?
Hi,
I found another bug, in DatePicker, wpf:TextField.Hint="text" isn't working, but it's working for TextBox and TimePicker
Hi, I'm trying to make an option in my application to let the user choose the accent color but I don't know if it's possible...
How can I change the accent color directly from a button for exemple (In VB.Net) ?
Thanks,
Clément.
EDIT : I must learn to read :p It is a ChangeAppStyle which can be used easily... It's solved :)
EDIT2 : It only changes MahApps accent, not Material accent :/ It's not solved
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.