Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

WebView, PropertyGrid, Ribbon controls

Open kinsung opened this issue 4 years ago • 6 comments

Consider developing centralized controls that are essential for modern software development, including: WebView, PropertyGrid, Ribbon controls.

The following url is for reference: https://github.com/VitalElement/CefGlue.Core/tree/master/CefGlue.Avalonia https://github.com/amazerol/AvaloniaRibbon

kinsung avatar May 31 '20 23:05 kinsung

@kinsung FYI development of the Ribbon you linked has pretty much moved to https://github.com/Splitwirez/AvaloniaRibbon at this point

Splitwirez avatar Jun 23 '20 18:06 Splitwirez

Possible suggestion: Integrate with https://github.com/webview/webview to use the native webview instead of bundling CEF?

Ruluk avatar Jun 12 '21 04:06 Ruluk

@Ruluk if it's possible to get native control handle from this library, than it could be easily wrapped with NativeControlHost. See native controls example: https://github.com/AvaloniaUI/Avalonia/blob/master/samples/interop/NativeEmbedSample/EmbedSample.cs#L77-L91

maxkatz6 avatar Jun 12 '21 04:06 maxkatz6

Hey, guys. Are there any plans to implement PropertyGrid? Very much needed control.

IgorIIV avatar Aug 10 '22 08:08 IgorIIV

PropertyGrid is unlikely to be part of Avalonia main package. But you can find third party controls, like https://github.com/mameolan/Avalonia.ExtendedToolkit/tree/master/Avalonia.ExtendedToolkit/Controls/PropertyGrid

maxkatz6 avatar Aug 10 '22 21:08 maxkatz6

Not bad. Thank you.

IgorIIV avatar Aug 11 '22 06:08 IgorIIV

i create a simple one here: https://github.com/bodong1987/Avalonia.PropertyGrid

bodong1987 avatar Apr 23 '23 04:04 bodong1987

@bodong1987 looks beautiful 👍. Probably you want to add it to https://github.com/AvaloniaCommunity/awesome-avalonia#controls ?

timunie avatar Apr 24 '23 06:04 timunie

I think webview support is essential because if there is any controls or UI element that we need but not natively supported yet we can just use webview to render our UI as a workaround

timdinh avatar Jun 09 '23 10:06 timdinh

From this list, I don't think we will ever have PropertyGrid and Ribbon build-in. Native WebView is something that could happen at some point, but it's very problematic cross-platform (specifically on Linux), making it, in general, easier to use CEF-based solutions, which there are already multiple for Avalonia.

maxkatz6 avatar Jun 09 '23 22:06 maxkatz6

I think webview support is essential because if there is any controls or UI element that we need but not natively supported yet we can just use webview to render our UI as a workaround

@timdinh If they don't exist, you'd have to write them either way, so why not write them for Avalonia directly? (I'm missing something here, aren't I?)


From this list, I don't think we will ever have [...] Ribbon build-in.

@maxkatz6 Makes me wish I wasn't so flaky about maintaining my own Ribbon (third-party lib)...

Native WebView is something that could happen at some point, but it's very problematic cross-platform (specifically on Linux), making it, in general, easier to use CEF-based solutions, which there are already multiple for Avalonia.

Why is everything...Chrome?

Splitwirez avatar Jun 10 '23 18:06 Splitwirez