xamarin/Xamarin.Forms

StackLayout.IsEnabled=false one of the children does not inherit IsEnabled=false

Ouverte

#9 121 ouverte le 7 janv. 2020

 (5 commentaires) (1 réaction) (0 personne assignée)C# (1 926 forks)batch import
e/3 :clock3:hackathonhelp wantedinactivep/UWPt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

This issue has been moved from a ticket on Developer Community.


I have this simple xaml in a

<StackLayout x:Name="EntriesPanel" IsEnabled="False" >
             <Label>IDX</Label>
             <Entry x:Name="IDXEntry" IsEnabled="False" />
             <Label>Name</Label>
             <Entry x:Name="NameEntry" />
             <Label>Name2</Label>
             <Entry x:Name="NameEntry2" />
        </StackLayout>

Strangely NameEntry2 is disabled as expected (inheriting from StackLayout) but NameEntry stays enabled. I have other forms with more Entry and all of them inherit from parent StackLayout apart from the first not disabled one.


Original Comments

Visual Studio Feedback System on 1/2/2020, 06:14 PM:


Original Solutions

(no solutions)

Guide contributeur