Unable to set ToolTipProperties on button control
Closed this issue · 8 comments
I was trying to set a ToolTipProperties
on button using Set
(use to set a specific dependency property of the native control).
new Button("text")
.Set(MauiControls.ToolTipProperties.TextProperty, "Test"),
I have test it in normal MAUI app and it work perfectly.
may I ask the the version of MauiReactor and the system you're testing? windows or Mac?
I am testing on Mac and the MauiReactor
version is 2.0.7-beta
updating Reactor.Maui
and Reactor.Maui.Canvas
throw an error when using inline component on Component.Render
:
example:
public VisualNode OutlinedTextField(string label, string supportText)
=> Component.Render(context =>
{
}
I get the following error:
error CS0411: The type arguments for method 'Component.Render<S>(Func<ComponentContextState<S>, VisualNode>, S?)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Yes you have to specify the type of the state, for example Render < double > (...) or Render<(double param1, int param2)>(...)
https://adospace.gitbook.io/mauireactor/whats-new-in-version-2
I got an other issue which is unrelated. The simulator cannot start the app.
Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:10000: Connection refused
I will close this issue because I was unable to test.