You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all thanks for the Material Design controls! Due the possibility to generate a WPF application with Xamarin Forms I tried it out and got a weird behaviour when using the MaterialEntry: When I bind the the Text-Property of the MaterialEntry I get a Argumentexception "Width and height cant be a negative number". The same Exception occurs when just entering some text. Leaving out the binding works fine. I checked out the behaviour when using a normal Entry Control and it works fine. This problem only occurs on WPF. This is my xaml.
Unbehandelte Ausnahme: System.ArgumentException: Breite und Höhe dürfen keine negative Zahl sein.
bei System.Windows.Size..ctor(Double width, Double height)
bei Xamarin.Forms.Platform.WPF.FormsPanel.MeasureOverride(Size availableSize) in D:\a\1\s\Xamarin.Forms.Platform.WPF\FormsPanel.cs:Zeile 70.
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei System.Windows.ContextLayoutManager.UpdateLayout()
bei System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
bei System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
bei System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
bei System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
bei System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
bei MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei System.Windows.Application.Run(Window window)
bei System.Windows.Application.Run()
bei REA.MDE.Wpf.App.Main()
I know your controls are supposed to be used on Android iOS (and maybe UWP) but because they are based on the Entry-Control I gave it a shot.
The text was updated successfully, but these errors were encountered:
Hey there,
first of all thanks for the Material Design controls! Due the possibility to generate a WPF application with Xamarin Forms I tried it out and got a weird behaviour when using the MaterialEntry: When I bind the the Text-Property of the MaterialEntry I get a Argumentexception "Width and height cant be a negative number". The same Exception occurs when just entering some text. Leaving out the binding works fine. I checked out the behaviour when using a normal Entry Control and it works fine. This problem only occurs on WPF. This is my xaml.
Here is the Stacktrace:
I know your controls are supposed to be used on Android iOS (and maybe UWP) but because they are based on the Entry-Control I gave it a shot.
The text was updated successfully, but these errors were encountered: