enisn / uraniumui Goto Github PK
View Code? Open in Web Editor NEWUranium is a Free & Open-Source UI Kit for MAUI.
License: Apache License 2.0
Uranium is a Free & Open-Source UI Kit for MAUI.
License: Apache License 2.0
Lazy Loading logic is required to render a massive amount of hierarchical data.
Something like that https://github.com/enisn/TreeView.Maui#use-cases
There might be a bindable property named LoadChildrenCommand
and it can be executed when expand button clicked.
Hello,
I'm trying to use the Datagrid component into a MAUI project. Unfortunately I'm facing some speed issue during the binding of a large amount of records in View Model.
There is a way to speed up the process? Maybe a function of pagination or any type of virtualization. The application is really really slow.
Thanks for your attention
I kept getting using TimePickerField control, i'm not sure what the issue is
but any advice will be appreciated.
System.MissingMethodException
Message=Method not found: void Microsoft.Maui.Controls.TapGestureRecognizer.add_Tapped(System.EventHandler)
Version: UraniumUI.Material 0.13.1
new FormView {
Spacing = 20,
Children = {
new TimePickerField {
Title = "Sample Picker",
Icon = new FontImageSource() { FontFamily = "FASolid", Glyph = FA.Solid.Clock }
}
}
}
There is a problem while using multiple backdrops.
It should be:
foreach (BackdropView backdrop in AttachedPage.Attachments.Where(x => x is BackdropView))
{
backdrop.IsVisible = isPresented ? backdrop == this : isPresented;
}
Some customization bindable properties should be defined in TreeView.
Hover and pressed effects use Primary color only. If a button is on a secondary or tertiary tinted container, it doesn't seem right.
Effects can be neutral instead of primary color tint. (Maybe some opacity changes can help)
Hi I was wondering if it would be possible for you to add a method or procedure to change the tabs to the TabView manually in code. Such as a function that allows us to activate a tab via method using x:Name, position, and/or Title?
Thank you.
Using the following steps, you will see that the DatePickerField will not allow you to reselect the same date after clearing it:
Edit --
This is also true when nothing is selected and you attempt to select today's date.
When updating bindings of a Material:TextField, the title is not moved until the control is activated.
Example:
xmlns:material="clr-namespace:UraniumUI.Material.Controls;assembly=UraniumUI.Material"
<material:TextField
Title="Name of Incident"
Grid.Column="1"
Margin="5"
IsEnabled="{Binding Locked}"
MaxLength="250"
MaximumWidthRequest="200"
Text="{Binding SelectedIncident.Name}" />
Recognizers are enough to achieve this feature
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/drag-and-drop
I removed all items from "Items". When re-adding a new item or binding a new ObservableCollection to "Items", I am getting below error.
Java.Lang.IllegalStateException: 'The specified child already has a parent. You must call removeView() on the child's parent first.'
When I set the "IsEnabled" property of a TextField to false, it does not seem to work.
Is this a bug? Thanks.
<material:TextField Title="default" />
<material:TextField Title="Red" BorderColor="Red" />
<material:TextField Title="Green" BorderColor="Green" Keyboard="Numeric" />
When i bind the itemsource to an ObservableCollection of ExpandoObjects and try to generate auto columns, nothing happens. Has anyone had any luck with binding to these objects?
Hi!
I've tried to use your package, with the latest .NET7 release for MAUI, however, when running a page with TreeView component, (iwindows target) the following error appears:
Microsoft.Maui.Controls.TapGestureRecognizer.add_Tapped error
After downgrading .NET7 to .NET6 all works without any issue. ( And yes, I know .net was released yesterday, so just wanted to leave a heads up!)
For controls that offer a clear (x) button, allow a BindableProperty to hide/show the button.
I could not find any information about this, I am using the example available at https://enisn-projects.io/docs/en/uranium/latest/themes/material/components/TextField
And when I try to compile or run I get the following error:
Severity Code Description Project File Line Suppression State
Error XFC0000 Cannot resolve type ":AdvancedEntry". TestProject F:\Projects\TestProject\TestProject\Features\Login\LoginView.xaml 28
Which goes to
<material:TextField Title="Email:" AllowClear="True"
Icon="{FontImageSource FontFamily=FASolid, Glyph={x:Static fa:Solid.Envelope}}">
<validation:RequiredValidation />
<validation:RegexValidation Pattern="{x:Static input:AdvancedEntry.REGEX_EMAIL}" Message="My Error Message!" />
</material:TextField>
Line 28 being:
<validation:RegexValidation Pattern="{x:Static input:AdvancedEntry.REGEX_EMAIL}" Message="My Error Message!" />
And I have the following namespaces defined
xmlns:material="clr-namespace:UraniumUI.Material.Controls;assembly=UraniumUI.Material"
xmlns:validation="clr-namespace:InputKit.Shared.Validations;assembly=InputKit.Maui"
xmlns:fa="clr-namespace:UraniumUI.Icons.FontAwesome;assembly=UraniumUI.Icons.FontAwesome"
What am I doing wrong here? I cannot find anything on it.
According to a requirement from #67
Hi, I was wondering if you had any updates or timelines on the SegmentedControl. There are some great resources where people have submitted SegmentedControl Views using a radio box, but it's still missing stuff.
Creating an Uranium project in Visual Studio 2022 leaves me with the following error in the XAML:
uranium:UraniumContentPage.Attachments>
<attachment:BackdropView
Title="Add"
IconImageSource="{FontImageSource FontFamily=MaterialRegular, Glyph={x:Static m:MaterialRegular.Add_circle}, Color={StaticResource OnPrimary}}"
The error is: Type 'FontImageSource' is used like a markup extension but does not derive from MarkupExtension
Please advice
BR
Per
It would be good to use DataAnnotations and FormView together. For example Devexpress, Mudblazor
I've followed the steps from the documentations keenly, and have been able to implement a datagrid successfully with all my data loaded, thank you very much.
I have an issue that's been taking me hours and I can't seem to figure out a solution..
In the docs, the Command parameter is {Binding Data} as shown below.
but I scouted all the relevenat pages, viewmodels in order to determine what data, "Data" represents, but to no avail...
I wanted to implement an action button like in the doc's example, that will call a RelayCommand, and pass an object through it, which will then be used further.
I thought that "Data" represented a certain object, but i'm having a harding figuring, what object...
Here is an image of what I'm referring to from here , line 71;
I would greatly appreciate some enlightening, please.
Thanks for everything once more.
In my project , I am trying to using "Items.Clear()" on a DataGrid binding.
I run the demo app from UraniumUI, in SelectableDataGridPage, when removed all the item from Items, I am getting error message "System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
Edit:
This also work.
foreach (var item in SelectedItems.ToList())
{
Items.Remove(item);
}
Hi, do you have a bounty system that can be used to pay for specific control/features?
I am asking because I need a autocomplete/picker for a program I am making and would like to see if there is a way to pay for the development of this control specifically. I know that you have already announced it in v2.0, but I thought it wouldn't hurt to ask :)
If a string passed into MaxValueValidation
or MinValueValidation
it throws At least one object must implement IComparable.
exception.
It should be handled and return a format error validation message instead of crashing.
Unfocus() does not work on TextField. How to unfocus and hide keyboard?
The textbox inside of the PickerField is not read only. Probably only a real problem on an emulator on a PC, but a keyboard can be left open after selection and data can be input into the picker field. A traditional picker doesn't allow editing the selected item.
Edit - its also a bug (mostly due to MAUI) without a PC. Simply create two controls, 1 that pops up a keyboard (editor/entry/textfield) and a picker. Click the editor/entry/textfield. Then without doing anything else, click the picker field. Select an item and then start typing on the soft keyboard that is still present (that is a MAUI bug, I believe, that keeps the keyboard open on unfocus).
when i add tabview in serval pages , i found all the tabitem will be show together. i can't new another tabview instance again .
the problem is very serious, can you fix it quickly ?
<ContentView HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
<ScrollView HorizontalScrollBarVisibility="Always" VerticalScrollBarVisibility="Always">
<local:uraniumDataGridExt
x:Name="uraniumDataGrid"
ItemsSource="{Binding GenericRegisterClassList}"
UseAutoColumns="True" />
</ScrollView>
</ContentView>
I got this datagrid, but i can't seem to scroll horizontally. The only thing that is changed in the extension is an override on showautocolumns.
Is horizontal scrolling not supported, or am i doing it wrong?
Hi,
When the calendar is important for the app, there are IMO only 2 designs that stand out and that are worth pursuing. Both involve vertical scrolling (via swipe gesture) of the months within the calendar view.
Everyone else is making easy and ugly calendars, I would never use in a small screen app format.
The first design is from Apple, so no big surprise there, and it has the best vertical scrolling:
And the second one comes from MS Teams; that one-row view of the current week with the possibility to expand to see the whole month is a killer:
I hope you'll consider this and eventually do the right thing. :)
Thanks,
Lucian
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.