Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:23
    gitpod-io[bot] commented #9453
  • 22:23
    gitpod-io[bot] commented #9453
  • 22:23
    mergify[bot] commented #9444
  • 22:23
    mergify[bot] commented #9444
  • 22:23
    mergify[bot] opened #9453
  • 22:23
    mergify[bot] opened #9453
  • 22:23

    mergify[bot] on bp

    fix(droid): FlipView showing em… fix: FlipView theme template (… chore: Update comments Co-auth… and 1 more (compare)

  • 22:22
    ajpinedam commented #9444
  • 22:22
    ajpinedam commented #9444
  • 21:48
    jeromelaban closed #6030
  • 21:48
    jeromelaban closed #6030
  • 21:48

    jeromelaban on master

    fix(droid): FlipView showing em… fix: FlipView theme template chore: Update comments Co-auth… and 2 more (compare)

  • 21:48

    jeromelaban on fix.flipview.templateselector

    (compare)

  • 21:48
    jeromelaban closed #9341
  • 21:48
    jeromelaban closed #9341
  • 21:48
    jeromelaban closed #9444
  • 21:48
    jeromelaban closed #9444
  • 21:28
    nventive-devops commented #9444
  • 21:28
    nventive-devops commented #9444
  • 20:56
    jeromelaban closed #9422
Jérôme Laban
@jeromelaban
@m5x We've moved to Discord: https://platform.uno/blog/uno-platform-online-community-move-to-stackoverflow-and-discord/
Would you mind asking the question there again ?
Parth Mandalia
@ParthMandalia
Uno wasm Generation failed, code rejected
Error Generation failed: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Generation failed for Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator. System.Exception: Processing failed for file D:\Projects\Uno Personal\MahAppIcons\MahAppIcons.Shared\UserControls\IconContentControl.xaml ---> System.InvalidOperationException: Unable to resolve System.Windows.Controls.Control (Reason: None, Location:Unknown, Candidates: )
Jérôme Laban
@jeromelaban
@ParthMandalia We've moved to Discord: https://platform.uno/blog/uno-platform-online-community-move-to-stackoverflow-and-discord/
Would you mind asking the question there again ?
Mohsen Seifi
@Mohsens22

Hi
is Windows.Media.Core and Windows.Media.Playback supported on Uno?

Can I play audio from a static file Cross-Platform without using VLCLib?

Andres Pineda
@ajpinedam
@Mohsens22 We've moved to Discord: https://platform.uno/blog/uno-platform-online-community-move-to-stackoverflow-and-discord/
Would you mind asking the question there again ?
Mukesh Kumar
@MukeshK24381706_twitter
Hi is selecting muliItems in combobox and Listview is possible in Wasm? if yes please help I'm new to c#,xaml and uno platform
AbdalaMask
@AbdalaMask
<Viewbox>

<Canvas Height="100" Width="100">
<!--Step 1-->
<Ellipse Canvas.Left="0" Canvas.Top="0" Width="100" Height="100" StrokeThickness="0.5" Stroke="Gray" >
<Ellipse.Fill>
<LinearGradientBrush x:Name="LinearProcessBrush" StartPoint="0.5,1" EndPoint="1,0" SpreadMethod="Pad">
<GradientStop Color="#FF071923" Offset="0" />
<GradientStop Color="White" Offset="1" />
</LinearGradientBrush>
</Ellipse.Fill>
</Ellipse>
<!--Step 2-->
<Ellipse Canvas.Left="7.25" Canvas.Top="7.25" Width="85" Height="85" StrokeThickness="0.5" Stroke="Gray" >
<Ellipse.Fill>
<LinearGradientBrush x:Name="LinearProcessBrush2" StartPoint="1,0.5" EndPoint="0,1" SpreadMethod="Pad">
<GradientStop Color="#FF071923" Offset="0" />
<GradientStop Color="White" Offset="1.2" />
</LinearGradientBrush>
</Ellipse.Fill>
</Ellipse>
<!--Step 3-->
<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 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>
</Ellipse.Fill>
</Ellipse>

</Canvas>
</Viewbox>
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).