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
It happened in some SourceCodeExpander that have a complex string
In specific, it usually happens in properties that have a long and complex binding
for example:
in ActivityIndicator page (src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/ActivityIndicator)
that ActivityIndicator will generate into this string below
" <ActivityIndicator\r\n" +
" HorizontalOptions="Start"\r\n" +
" IsRunning="{x:Binding Source={x:Reference ActivityIndicatorSwitch},\r\n" +
" Path=IsToggled}"\r\n" +
" Color="{x:Binding Source={x:Reference ActivityIndicatorColorPicker},\r\n" +
" Path=SelectedItem,\r\n" +
" Converter={x:StaticResource StringToColorConverter}}" />"
the SourceCodeExpander will render all controls except the ActivityIndicator above will be rendered in black color text
some SourceCodeExpander have the same issue:
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/Button
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/MenuBar
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/Picker
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/ProgressBar
Contact Details
[email protected]
What happened?
It happened in some SourceCodeExpander that have a complex string
In specific, it usually happens in properties that have a long and complex binding
for example:
in ActivityIndicator page (src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/ActivityIndicator)
that ActivityIndicator will generate into this string below
" <ActivityIndicator\r\n" +
" HorizontalOptions="Start"\r\n" +
" IsRunning="{x:Binding Source={x:Reference ActivityIndicatorSwitch},\r\n" +
" Path=IsToggled}"\r\n" +
" Color="{x:Binding Source={x:Reference ActivityIndicatorColorPicker},\r\n" +
" Path=SelectedItem,\r\n" +
" Converter={x:StaticResource StringToColorConverter}}" />"
the SourceCodeExpander will render all controls except the ActivityIndicator above will be rendered in black color text
some SourceCodeExpander have the same issue:
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/Button
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/MenuBar
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/Picker
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/ProgressBar
This also happened in wrong syntax coding
Like this one (src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Controls/MediaElement)
"<ContentPage\r\n" +
" x:Class="MAUIsland.MediaElementPage"\r\n" +
" xmlns="http://schemas.microsoft.com/dotnet/2021/maui\"\r\n" +
" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml\"\r\n" +
""
the code above missing ">" at the end of the xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml\"
same as
src/Presentations/Windows/Features/Gallery/Pages/BuiltIn/Controls/Switch
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Controls/Expander
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/BoolToObjectConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/ByteArrayToImageSourceConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/ColorConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/CompareConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/CompareConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/DoubleToIntConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/EnumToBoolConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/EnumToIntConverter
src/Presentations/Windows/Features/Gallery/Pages/Toolkit/Converters/ImageResourceConverter
SourceCodeExpander can not read the color code too (src/Presentations/Windows/Features/Gallery/Pages/Community/Layouts/DataGrid)
Version
7.0
What platforms are you seeing the problem on?
Windows
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: