xamarin/Xamarin.Forms

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

Aperta

#9121 aperta il 7 gen 2020

 (5 commenti) (1 reazione) (0 assegnatari)C# (1926 fork)batch import
e/3 :clock3:hackathonhelp wantedinactivep/UWPt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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)

Guida contributor