Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:49
    MartinZikmund synchronize #6762
  • 12:49
    MartinZikmund synchronize #6762
  • 12:49

    MartinZikmund on jela

    chore: Apply visual states prop… (compare)

  • 12:42
    trungnt2910 commented #2533
  • 12:42
    trungnt2910 commented #2533
  • 12:41
    trungnt2910 commented #2533
  • 12:41
    trungnt2910 commented #2533
  • 11:15
    Youssef1313 synchronize #7108
  • 11:15
    Youssef1313 synchronize #7108
  • 10:51
    Youssef1313 synchronize #7124
  • 10:51
    Youssef1313 synchronize #7124
  • 10:21
    Youssef1313 commented #7124
  • 10:21
    Youssef1313 commented #7124
  • 10:20
    Youssef1313 synchronize #7124
  • 10:20
    Youssef1313 synchronize #7124
  • 10:14
    Youssef1313 synchronize #7124
  • 10:14
    Youssef1313 synchronize #7124
  • 09:01
    Youssef1313 synchronize #7100
  • 09:01
    Youssef1313 synchronize #7100
  • 08:53
    Youssef1313 synchronize #7113
AbdalaMask
@AbdalaMask
not worging

<media:RadialGradientBrush Center="0.6,0.35" GradientOrigin="0.6,0.35" RadiusY="0.67" RadiusX="0.67">

<GradientStop Color="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},Path=OnColor}" Offset="0"/>

<GradientStop Color="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},Path=OnColor}" Offset="1"/>
</media:RadialGradientBrush>

not work
Andrii Chebukin
@xperiandri
On which platform?
AbdalaMask
@AbdalaMask
image.png
AbdalaMask
@AbdalaMask
Uwp
All
AbdalaMask
@AbdalaMask
not working
<GradientStop Color="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},Path=OnColor}" Offset="0"/>
AbdalaMask
@AbdalaMask
Requested registry access is not allowed
Ulf Andreasson
@Ulf-Ason
Kirill Zhukov
@kirill-zhukov
Hi everyone. I'm experimenting with normal desktop menu from WinUI. In UWP it looks as usual but when I run wasm or wpf skia the menu looks ugly. No hover color on inner menu items. And in WPF it is just not clickable
"Not clickable" I mean inner menu
AbdalaMask
@AbdalaMask
how Dynamically change gradientstop color from RadialGradientBrush
<Ellipse x:Name="xBackground" Canvas.Left="12.25" Canvas.Top="12.25" Width="75" Height="75" StrokeThickness="0.5" Stroke="Black" >
<Ellipse.Fill>
<media:RadialGradientBrush FallbackColor="{Binding OnColor, RelativeSource={RelativeSource Mode=TemplatedParent}}">
<GradientStop Color="{Binding OnColor, Converter={StaticResource ColorLightConverter}, ConverterParameter=50, RelativeSource={RelativeSource Mode=TemplatedParent}}" Offset="1"/>
<GradientStop Color="#FF2CA5DF"/>
<GradientStop Color="{Binding OnColor, RelativeSource={RelativeSource Mode=TemplatedParent}}" Offset="0.5"/>
</media:RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
joaopaulovw
@joaopaulovw

someone could help me with this issue:

VM59:1 fail: Windows.UI.Core.CoreDispatcher[0]
      Dispatcher unhandled exception
System.PlatformNotSupportedException: Arg_PlatformNotSupported
   at System.Threading.Thread.Start(Object parameter) in D:\a\Uno.DotnetRuntime.WebAssembly\Uno.DotnetRuntime.WebAssembly\runtime\src\mono\System.Private.CoreLib\src\System\Threading\Thread.Browser.Mono.cs:line 17
   at System.Reactive.Concurrency.ConcurrencyAbstractionLayerImpl.StartThread(Action`1 action, Object state) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/ConcurrencyAbstractionLayerImpl.cs:line 71
   at System.Reactive.Concurrency.DefaultScheduler.LongRunning.LongScheduledWorkItem`1[[System.Reactive.ObserveOnObserverLongRunning`1[[ReduxSimple.ActionDispatchedWithOrigin, ReduxSimple, Version=3.6.1.0, Culture=neutral, PublicKeyToken=null]], System.Reactive, Version=4.4.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263]]..ctor(ObserveOnObserverLongRunning`1 state, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 185
   at System.Reactive.Concurrency.DefaultScheduler.LongRunning.ScheduleLongRunning[ObserveOnObserverLongRunning`1](ObserveOnObserverLongRunning`1 state, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 204

i'm trying to run ReduxSimple library on wasm

joaopaulovw
@joaopaulovw
@zipswich thank u, sorry about that
Hong
@zipswich
@joaopaulovw no problem.
FrancoisM
@FrancoisM
Hola. It's been a long time since I last came here. I want to give Uno another go for our LOB app. My main issue was, and still is , that wen need a datagrid with grouping and subtotals per group. Any news on wct datagrid, syncfusion, telerik? It doesn't seem to have any traction really.
akima15
@akima15
viewmodel.cs
Task MyMethodAsync() => Task.CompletedTask;

page.xaml:
Click="{x:Bind ViewModel.MyMethodAsync}"

page.g.cs
            case 7:
                        this.obj7 = target.As<Microsoft.UI.Xaml.Controls.Button>();
                        this.obj7Click = (global::System.Object p0, global::Microsoft.UI.Xaml.RoutedEventArgs p1) =>
                        {
                            this.dataRoot.ViewModel.MyMethodAsync(); // warning CS4014
                        };
                        (target.As<Microsoft.UI.Xaml.Controls.Button>()).Click += obj7Click;
                        break;

result: warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.

Anyone knows what's the appropiate thing to do in this case?

akima15
@akima15
I seem to have at least 3 choices:
1) Go back to using ICommand
2) Create void_MyMethod() => _MyMethodAsync() and binding to this method
3) Ignore warnings in generated file (i dont know how to target just the generated files tho)
nathanAjacobs
@nathanAjacobs
Does Uno Platform support minimizing the app to tray rather than the taskbar?
Andrii Chebukin
@xperiandri
Only on WinUI
It is not recommended approach
What is your scenario?
@akima15 I know
Ping me tomorrow
nathanAjacobs
@nathanAjacobs

@xperiandri, I know plenty of apps that are configured this way. On my windows machine I have Spotify, MSI Afterburner, Logitech G Hub, and Mouse Without Borders which all use this approach.

The app I'm developing will not require a GUI 99% of the time. Only when configuration is needed, so I don't want it hogging up space as a window in the taskbar.

The main functionality of the app checks to see if a user defined keyboard combination is being held down, then communicates that to other connected clients which then simulate a completely different (or same) user defined keyboard combination being held down.

I'm developing the app to work with Windows first (I'm most familiar with it and have all the keyboard stuff already working), but would like to add Mac support later and possibly Linux support.

Since most of the keyboard functionality already requires low level OS specific code, I'm trying to minimize having to redo the UI for each platform as well.

Also I don't want to use WinUI because I don't want to limit my user base just to Windows 10 on Windows platforms.

Andrii Chebukin
@xperiandri
Use WinUI Uno template
There are no other modern options
nathanAjacobs
@nathanAjacobs

Use WinUI Uno template

Well it looks like WinUI can be used on Windows 7 with Uno. But does Uno plan to add support for Menu bar icon on mac and system tray for linux?

Andrii Chebukin
@xperiandri
It is not related to Uno
Use it per platform
Platform-specific code
nathanAjacobs
@nathanAjacobs
Gotcha, yeah that makes sense in a way. But at the same time, it would be nice for a cross platform UI framework to have some helper functionality for it on the corresponding platforms, rather than have each individual project implement it themselves. At the end of the day it is still UI functionality. But that's just my opinion.
Plus now that .NET is cross platform, you are gonna have people that don't know a lot about platform specific stuff for every platform (and shouldn't need to know).
Andrii Chebukin
@xperiandri
But the tray icon is totally platform-specific thing
akima15
@akima15

I'm side loading my WINUI3 app into another machine and when I run it its telling me to install the ".NET5 Desktop Runtime" which makes sense.

Now I'm planning to upload it to the Microsoft Store and I'm wondering if the user will have to manually install it as well or if the msix installer will take care of this dependency

Piotr Karocki
@pkar70
Tray icon is totally platform-specific, yes. But in some way exist in (almost) all platforms, so it could be implemented in multiplatform framework. \
akima15
@akima15

Now I'm planning to upload it to the Microsoft Store and I'm wondering if the user will have to manually install it as well or if the msix installer will take care of this dependency

Ok so my app got approved and the user will have to manually install it :(

Andrii Chebukin
@xperiandri
Maybe you can mark it as a dependency somehow...
akima15
@akima15

Maybe you can mark it as a dependency somehow...

I wish I knew how ( if its even possible)

I've decided to publish it as a single file but since WinUI doesnt support IL trimming yet the size is 100mb T_T
The error send the users to https://dotnet.microsoft.com/download/dotnet/5.0/runtime and some users may not even know which architecture to choose
AbdalaMask
@AbdalaMask
how add SKPicture to ImageSource in uwp