xamformsextended / xfx.controls Goto Github PK
View Code? Open in Web Editor NEWXamarin Forms Extended Controls
License: MIT License
Xamarin Forms Extended Controls
License: MIT License
I need to turn off autocorrection when typing some text. Right now if i something say serah then on iOS it will automatically by corrected to search. Is there a build in property already for this?
Please fill in what you would like
When focus is switched fast enough between multiple entries, the program is running into endless loop where it keeps on toggling focus between the entries endlessly, and pressing the back button crashes the app.
Switching focus between the entries rapidly should not lead to looping.
Switching focus between entries rapidly is leading to focus, unfocus loop.
Run the example app on the android emulator, and toggle focus on entries by tapping tab button rapidly on physical keyboard. The app enters into the focus unfocus loop.
Please fill out either the bug or feature request section and remove whatever section you are not using.
XfxComboBox should show the suggestions above or below the entry based on its position.
XfxComboBox should not show the suggestions above the entry when I kept the combobox bottom of the screen.
Find the Screenshot below:
|
Please fill in what you would like
Create a Picker control that mimics the existing Xamarin.Forms.Picker
but also includes a floating label and error messaging.
An added bonus would be to use the forthcoming bindable picker.
i made a project using Xfx.Controls but it appear as normal entity placeholder not change as label
Code Shown Below:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:xfx="clr-namespace:Xfx;assembly=Xfx.Controls"
x:Class="Todo.Login">
<ContentPage.Content>
<StackLayout Padding="28">
<xfx:XfxEntry Placeholder="Enter your email address"
Text="{Binding EmailAddress}"
Keyboard="Email"/>
<Entry Placeholder="Password" IsPassword="true" Text="{Binding Password}" />
<Button Text="Login" WidthRequest="200" HorizontalOptions="CenterAndExpand" BorderRadius="26" ContentLayout="Top,0" TextColor="White" BackgroundColor="#2196F3" />
</StackLayout>
</ContentPage.Content>
</ContentPage>
Please help me
I am trying to set Observable collection of my custom object (two string properties), and below is the algorithm property I set. Suggestions are not being showed. Also I have to fill my itemsource from backend based on the string entered in the Entrybox. Am I missing anything here?
Item Source
SuggestionItemSource = new ObservableCollection<PatientSearchEntity>()
{
new SearchEntity(){ Name="Rajeshkumar",MobileNumber="123"},
new SearchEntity(){ Name="Divya",MobileNumber="456"},
new SearchEntity(){ Name="Satheesh",MobileNumber="789"},
new SearchEntity(){ Name="Raja",MobileNumber="1011"},
new SearchEntity(){ Name="Sherin",MobileNumber="1213"},
new SearchEntity(){ Name="Abihlash",MobileNumber="1415"},
new SearchEntity(){ Name="Vasu",MobileNumber="1617"}
};
Algorithm
public Func SearchEntity , ICollectionSearchEntity, ICollectionSearchEntity SortingAlgorithm { get; } =
(text, values) => values
.Where(x => x.Name.ToLower().StartsWith(text.Name.ToLower()))
.OrderBy(x => x)
.ToList();
SearchEntity
class SearchEntity:INotifyPropertyChanged
{
private string _name;
private string _mobilenumber;
public string Name {
get { return _name; }
set { _name = value ; OnPropertyChanged("Name"); }
}
public string MobileNumber
{
get { return _mobilenumber; }
set { _mobilenumber = value; OnPropertyChanged("MobileNumber"); }
}
public event PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string propertyName)
{
if (PropertyChanged == null)
return;
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
Xaml
<StackLayout>
<xfx:XfxComboBox Text="{Binding SelectedPatient.Name}"
ItemsSource="{Binding SuggestionItemSource}"
SortingAlgorithm="{Binding SortingAlgorithm}" />
</StackLayout>
Feature Request:
it is possible to have a relase with the fix ErrorDisplay = "None"
When user focuses on an entry and tries to focus the next entry in the same page by pressing the tab button on the physical keybaord (while the app is running on emulator), the ViewGroup wrapper wrapping the Android TextInputLayout gains focus and shows up the Soft Input Keyboard. At this point of time, when user types anything on SIP, nothing happens, and when user presses the tab key again, the EditText gains the focus.
The Wrapping ViewGroup i.e. XfxRendererDroid, wrapping the Android TextInputLayout should not be focusable, only the wrapped TextInputLayout should be focusable.
Both Wrapper and TextInputLayout are focusable
API Change to disable floating labels. This will aid developers who want to use the control but continue to use their standard labels.
<xfx:XfxEntry IsLabelFloating="False" />
Should default to true
.
Android should be straight forward, just call HintEnabled=Element.IsLabelFloating
iOS will just hook into the animation trigger of the FloatedLabel.
XfxEntry shows "NumberPad" and not "DecimalPad" when its keyboard type is set to "Numeric"
The Numeric keyboard type should be able to take any character to make a "number," including the decimal point and hyphen.
The keyboard is just a 0-9 whole number keyboard
put an XfxEntry control on a ContentPage and specify the keyboard to be "Numeric"
Setting Placeholder color will set the color of the placeholder
Setting the Placeholder color has no effect
Try to set the color of a placeholder
There's also a feature request attached. Currently there's no way to set the Highlight color of a control. The Highlight color should update the underline as well as the label of an XfxEntry and an XfxComboBox.
public static readonly BindableProperty HighlightColorProperty = BindableProperty.Create(nameof(HighlightColor),
typeof(Color),
typeof(XfxEntry),
Color.Accent);
/// <summary>
/// Sets the color of the active label and active underline. This is a bindable property.
/// </summary>
public Color HighlightColor
{
get { return (Color) GetValue(HighlightColorProperty); }
set { SetValue(HighlightColorProperty, value); }
}
In XfxEntry HorizontalTextAlignment End the error message remains on the Start side and not flipped to be end aligned, Any help?
<xfx:XfxEntry Grid.Row="1" HorizontalTextAlignment="End" Grid.Column="1" Placeholder="أكتب اسمك" Text="{Binding Name}" ErrorText="خطأ" />
Hello,
I have tried using around 6 XFX entries one after the other in a vertical manner in a form. I could see that the spacing between the entries are more. Is there any way to reduce it?
When ErrorText
is empty/null, then the container that contains the error text disappears.
The space used for the ErrorText is always there and that eats a LOT of space. I don't know if that's intentional, if it is expected, is it feasible to add a new property like ShowEmptyErrorBlock
?
<Frame>
<StackLayout Spacing="0">
<Entry Placeholder="Entry 1" />
<Entry Placeholder="Entry 2" />
</StackLayout>
</Frame>
<Frame>
<StackLayout Spacing="0">
<xfx:XfxEntry Placeholder="Entry 1" />
<xfx:XfxEntry Placeholder="Entry 2" />
</StackLayout>
</Frame>
Adding Xfx.Controls to a Profile259 project fails because Profile111 isn't compatible.
Project should install nuget package into a Profile259 project
Error message says that Profile111 isn't compatible.
> Install-Package Xfx.Controls
Move entire portable project over to .NETStandard and update all nuget bits to match.
Title says it all: we would welcome a xfxEditor
Set x:Name property to Combobox, so I can access the control in the codebehind xaml.cs page.
Setting x:Name
property results in the following error
_Error: Sampling.Home.xaml.g.cs: error CS0400: The type or namespace name 'Xfx' could not be found in the global namespace (are you missing an assembly reference?)_
Please fill in what you would like
I am using the latest stable version. Two issues i am facing now are
I did not find any property for setting the size of placeholder text. I can set the input text size but not the placeholder text.
I need to change the underline color of the entry as it is default taking the color used to tint the widgets which i need to be a different one.
Can you please help me?
FontSize sets the size of the text in the input.
FontSize is ignored.
Also, notice that on the last example, the bottom line of the input touches the text. So FontSize seems to have some kind of effect, but not as much as expected xD
<Entry Placeholder="Entry (FontSize=8)" FontSize="8" />
<xfx:XfxEntry Placeholder="XfxEntry (FontSize=8)" FontSize="8" />
<xfx:XfxEntry Placeholder="XfxEntry (FontSize=2)" FontSize="2" />
Thanks for your work!
Please fill out either the bug or feature request section and remove whatever section you are not using.
I received a hockey app crash report like 4 times, just a null reference exception, its happen only in Android.
android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
Xfx.Controls.Droid.Renderers XfxEntryRendererDroid get_EditText 1 Xfx.Controls.Droid.Renderers XfxEntryRendererDroid+<>c__DisplayClass12_0 b__0 2 Java.Lang Thread+RunnableImplementor Run 3 Java.Lang IRunnableInvoker n_Run 4 mono.java.lang RunnableImplementor n_run 5 mono.java.lang RunnableImplementor run 6 android.os Handler handleCallback 7 android.os Handler dispatchMessage 8 android.os Looper loop 9 android.app ActivityThread main 10 java.lang.reflect Method invoke 11 com.android.internal.os ZygoteInit$MethodAndArgsCaller run 12 com.android.internal.os ZygoteInit main Ja va.Lang.Thread
Version Number of Control:
1.0.4
Device Tested On:
Huawey P9.
Simulator Tested On:
x86 API 24
Dont Crash
Crash
I cant reproduce the exception :( I think if you do something while the animation of the edit text is running it crash
I think we need a null check in this line in the XfxEntryRendererDroid class
line 36: private EditText EditText => Control.EditText;
Please fill out either the bug or feature request section and remove whatever section you are not using.
Tap Gesture over Cardview on listview tapping should be working
Tap Gesture over Cardview on listview tapping is not working
Please fill out either the bug or feature request section and remove whatever section you are not using.
XfxEntry editable
XfxEntry is not clickable
<TableView Intent="Form">
<TableRoot>
<TableSection Title="Dati generali">
<ViewCell>
<StackLayout>
<xfx:XfxEntry Placeholder="Ubicazione" Text="{Binding DatiGeneraliUbicazione}"/>
</StackLayout>
</ViewCell>
</TableSection>
</TableRoot>
</TableView>
Looking for help on getting these controls working on the Mac platform
Please fill out either the bug or feature request section and remove whatever section you are not using.
Dropdown view should be shown below combobox
Dropdown view is shown at the top of scrollview
place combobox in stacklayout/grid then place them in scrollview
Please fill out either the bug or feature request section and remove whatever section you are not using.
Need property to change the color of Entry Line(Line below the Text Entered) on Android. Currently on dark background the entry field on android is almost invisible.
Please fill in what you would like
How can I change the Itemsource property in Runtime? I am fixing threshold in xamal to 8, When the selected item text reached 7; I want to change the Itemsource. Based on the new Itemsource the algorithm should be executed and show the result. Is't possible with this plugin?
Please fill out either the bug or feature request section and remove whatever section you are not using.
Please fill in what you would like
Please add an example to demonstrate two comoboxes with different dataset filtering
I my case I have 2 Xamarin Pages, on first page when I click on button user wants to navigate to next Page which contains Pin code Combo Box (Below is the code for used ComboBox)
<StackLayout Orientation="Vertical" Spacing="2">
<StackLayout Orientation="Horizontal" Spacing="0" Padding="4,0">
<Label TextColor="Gray" Text="Pincode" FontSize="16" FontFamily="Helvetica-Light"/>
<Label TextColor="Red" Text="*" FontSize="16" FontFamily="Helvetica-Light"/>
</StackLayout>
<controls:RoundRectFrame HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" Padding="0" HeightRequest="40">
<StackLayout Orientation="Horizontal" Padding="1,0,10,0" BackgroundColor="Transparent">
<xfx:XfxComboBox
Text="{Binding Pincode, Mode=TwoWay}"
FontSize="16"
FontFamily="Helvetica-Light" TextColor="Black"
Keyboard="Numeric"
FloatingHintEnabled="False"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
ItemsSource="{Binding PinCodes}"
SortingAlgorithm="{Binding SortingAlgorithm}">
<xfx:XfxComboBox.Behaviors>
<local:MaxLengthValidatorBehavior x:Name="pincodeEntryLimit"/>
<local:NumberValidationBehavior />
</xfx:XfxComboBox.Behaviors>
</xfx:XfxComboBox>
</StackLayout>
</controls:RoundRectFrame>
</StackLayout>
But expected behavior not working(Page not redirecting to next screen which contains ComboBox).
After removing Combo Box everything works correctly and redirecting to next page..
Additional API:
<xfx:XfxEntry HorizontalErrorTextAlignment ="End" />
Relevant code for Android (iOS is all just hardcoded, so no big deal)
https://stackoverflow.com/a/42578667/124069
Input text given in xfxEntry is not wrapping to the next line. Is there any property similar to line break mode like in labels ?
Please suggest some solution to slove this issue.
Hi, I try initialize XfxControls.Init(); in AppDelegate, but not found XfxControls.
[ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.NoSuchMethodError: no method with name='setBackgroundTintList' signature='(Landroid/content/res/ColorStateList;)V' in class Landroid/view/View;
01-05 08:20:08.862 E/mono-rt (12780): at (wrapper dynamic-method) System.Object:dc6c2164-db1e-49f0-a517-fbd887a703b3 (intptr,intptr,intptr,intptr,intptr)
01-05 08:20:08.862 E/mono-rt (12780): --- End of managed Java.Lang.NoSuchMethodError stack trace ---
01-05 08:20:08.862 E/mono-rt (12780): java.lang.NoSuchMethodError: no method with name='setBackgroundTintList' signature='(Landroid/content/res/ColorStateList;)V' in class Landroid/view/View;
There seems to be a bug within XfxEntry, whereby the control will not mask input when IsPassword=true
in Xamarin.Forms Android.
XfxEntry Control should mask the field when the IsPassword
property is set to true
.
No masking of the field occurs
Using C# (not XAML), create a simple screen with a Password entry field and set the IsPassword
property to true
.
I am coding in Xamarin.Forms, What I supposed to align Toolbar title in the center in my portable project?
Looking for help on getting these controls working on the UWP platform
its possible set margin (spacing) between label and entry, in ios is too small.
HI
I am going to cast xfx:XfxEntry to EditText for show hide password but it gives me
<xfx:XfxEntry Placeholder="Password" IsPassword="true" Text="{Binding Password}"> <xfx:XfxEntry.Effects> <todo:ShowHidePassEffect /> </xfx:XfxEntry.Effects> </xfx:XfxEntry>
and casting code : -
EditText editText = ((EditText)Control);
It works fine if I use normal entity
Please help me
Please fill out either the bug or feature request section and remove whatever section you are not using.
Model property values are displayed in XfxEntry control upon page load.
Model property values are not displayed.
In the example app -> MainPage constructor...
public MainPage()
{
Model = new MainPageModel();
Model.Name = "Chase";
BindingContext = Model;
InitializeComponent();
}
In MainPage.xaml, remove...
<ContentPage.BindingContext>
<app:MainPageModel />
</ContentPage.BindingContext>
In XfxEntryRendererDroid.OnElementChanged(), calling SetText() before SetInputType() seems to resolve the issue.
For android use accent color. But i don't know how change the color for iOS.
Hi,
This is very very useful plugin in all XAMARIN FORMS plugins so far.
I have question and stuck with this for a while.
here item source return type has hardcoded List of string but I want to select id for the selected item
I see that there is selected item property.
But how do I set my list to contain id and value pair in first place but not show Id on the screen.
I tried following way to set but not succesful with the approach.
public class SelectList<T>
{
public T Value { get; set; }
public string Text { get; set; }
public string[] ValueText => (Value + "|" + Text).Split('|');
public string GetSelectValue => ValueText[0];
public string GetSelectedText => ValueText[1];
}
public List<SelectList<Guid>> GetData()
{
//return data here
}
public MainPageViewModel()
{
var data=GetData();
var names =data.Select(n => n.GetSelectedText);
//NamesSuggestions.ReplaceRange(data) ;
NamesSuggestions.ReplaceRange(names) ;
//In above line,I want to replace entire list with type SelectList<Guid> rather than just list of strings
//and show only names on the page.
//When selected from the list I want to pass the object but how do I set the entire object.
}
public ObsColl<string> NamesSuggestions { get; } = new ObsColl<string>();
//public ObsColl<SelectList<Guid>> ObsColl{ get; } = new ObsColl<SelectList<Guid>>();
where ObsColl is short form of ObservableRangeCollection(using James MVVM helpers plugin)
I need to look in selectedItem property(not sure at this stage)
My goal is to make this generic so that I can get and set dynamic objects(for reusability on different types)
Ex:I can have list to show top 10 people and I don't know whether depending on index is suitable for my needs in future or not.
Work around is also Ok but looking for better way.
Any help is appreciated.
hi, its possible change color of label and line below?
Hello,
Is there any chance for having the properties like,
Inactive Placeholder text color, Inactive placeholder text font and Active placeholder text font.
If this is there we can customize controls in lot way.... :)
Due to my own incompetence, I've decided that even this little project needs a build script. I'd like to use this opportunity to use something other than PowerShell, so I've decided to use cake for this one.
We are using the XfxControls package in a Xamarin.Forms app (Droid and iOS). The Xamarin Forms version is 2.4.0.74863. When we try to compile our primary Droid platform project, we get a build error that the "LinkAssemblies task failed unexpectedly." The actual build error is quoted below. When we build the project in "Debug" mode, it works fine. If we select "Don't Link" in the Linker Behavior section of the Droid project options in the Release configuration, the build completes.
Project compiles without any linker errors
Droid project compilation fails with linker exception like this:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: The "LinkAssemblies" task failed unexpectedly.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: Mono.Linker.MarkException: Error processing method: 'System.Void Xfx.Controls.Droid.XfxVisualElementManager::Init(Xamarin.Forms.Platform.Android.IVisualElementRenderer,Xamarin.Forms.Platform.Android.VisualElementRendererFlags)' in assembly: 'Xfx.Controls.Droid.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Xamarin.Forms.Platform.Android.VisualElementPackager::.ctor(Xamarin.Forms.Platform.Android.IVisualElementRenderer,Xamarin.Forms.VisualElement)
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod (Mono.Cecil.MethodReference reference) [0x00006] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x00049] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x00040] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x00098] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00161] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x0001a] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: --- End of inner exception stack trace ---
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00046] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.ProcessEntireQueue () [0x00002] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.Process () [0x00013] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x0000d] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x0001b] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at MonoDroid.Tuner.Linker.Run (Mono.Linker.Pipeline pipeline, Mono.Linker.LinkContext context) [0x00000] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at MonoDroid.Tuner.Linker.Process (MonoDroid.Tuner.LinkerOptions options, Mono.Linker.LinkContext& context) [0x00070] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Xamarin.Android.Tasks.LinkAssemblies.Execute (Java.Interop.Tools.Cecil.DirectoryAssemblyResolver res) [0x002c8] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Xamarin.Android.Tasks.LinkAssemblies.Execute () [0x001fa] in <acf4a3302c8d4a7eaf06af6dce1aafb2>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x00023] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/msbuild-15.4/src/Build/BackEnd/TaskExecutionHost/TaskExecutionHost.cs:631
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(1696,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder+<ExecuteInstantiatedTask>d__26.MoveNext () [0x0022d] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/msbuild-15.4/src/Build/BackEnd/Components/RequestBuilder/TaskBuilder.cs:787
Events Focused
and Unfocused
do not fire.
Tapping in an XfxEntry or XfxComboBox should invoke the Focus
event.
Tapping out of an XfxEntry or XfxComboBox should invoke the UnFocus
event.
Neither event is called
Perform the steps in Expected Behavior
Opening the project on Mac Xamarin Studio shows an error of "Project does not support framework '.NETPortable,Version=v5.0'"
It should open the project normally
Shows an error : Project does not support framework '.NETPortable,Version=v5.0'
By opening the project solution
New Xfx.CardView control
public class CardView : ContentView
{
public CardView()
{
BackgroundColor = Color.White;
Padding = 0;
}
public static readonly BindableProperty CornerRadiusProperty = BindableProperty.Create(nameof(CornerRadius),
typeof (float),
typeof (CardView),
3.0f);
/// <summary>
/// CornerRadius summary. This is a bindable property.
/// </summary>
public float CornerRadius
{
get { return (float) GetValue(CornerRadiusProperty); }
set { SetValue(CornerRadiusProperty, value); }
}
protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
{
if (Content == null)
return new SizeRequest(new Size(100, 100));
return base.OnMeasure(widthConstraint, heightConstraint);
}
}
Changing IsEnabled to False will update the Entry to a disabled state
Field is still enabled
Try set IsEnabled to False
Update Render so it will listen to IsEnabled updates
Kind regards,
Sander
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.