Fix BindingModes: SkiaLabel, SkiaScrollView
- SkiaLabel.cs: Added TwoWay to VerticalTextAlignment, LineBreakMode, MaxLines, LineHeight, CharacterSpacing, Padding - SkiaScrollView.cs: Added TwoWay to Orientation, HorizontalScrollBarVisibility, VerticalScrollBarVisibility, ScrollBarColor, ScrollBarWidth 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
| SkiaImageButton.cs | [ ] | |
|
||||
| SkiaIndicatorView.cs | [ ] | |
|
||||
| SkiaItemsView.cs | [x] | Added GetItemView() method |
|
||||
| SkiaLabel.cs | [ ] | |
|
||||
| SkiaLabel.cs | [x] | **FIXED 2026-01-01** - All BindingModes TwoWay |
|
||||
| SkiaLayoutView.cs | [ ] | Contains SkiaGrid, SkiaStackLayout, SkiaAbsoluteLayout, GridLength, GridPosition |
|
||||
| SkiaMenuBar.cs | [ ] | Contains MenuItem, MenuBarItem |
|
||||
| SkiaNavigationPage.cs | [ ] | |
|
||||
@@ -87,7 +87,7 @@
|
||||
| SkiaProgressBar.cs | [x] | Verified - Progress=OneWay, rest TwoWay, logic matches |
|
||||
| SkiaRadioButton.cs | [ ] | |
|
||||
| SkiaRefreshView.cs | [ ] | |
|
||||
| SkiaScrollView.cs | [ ] | |
|
||||
| SkiaScrollView.cs | [x] | **FIXED 2026-01-01** - All BindingModes TwoWay |
|
||||
| SkiaSearchBar.cs | [ ] | |
|
||||
| SkiaShell.cs | [x] | **FIXED 2026-01-01** - Added FlyoutTextColor, ContentBackgroundColor, route registration, query parameters, OnScroll |
|
||||
| SkiaSlider.cs | [x] | FIXED - Value=OneWay, rest TwoWay (agent had inverted all) |
|
||||
|
||||
@@ -145,6 +145,7 @@ public class SkiaLabel : SkiaView
|
||||
typeof(TextAlignment),
|
||||
typeof(SkiaLabel),
|
||||
TextAlignment.Center,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaLabel)b).Invalidate());
|
||||
|
||||
/// <summary>
|
||||
@@ -156,6 +157,7 @@ public class SkiaLabel : SkiaView
|
||||
typeof(LineBreakMode),
|
||||
typeof(SkiaLabel),
|
||||
LineBreakMode.TailTruncation,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaLabel)b).Invalidate());
|
||||
|
||||
/// <summary>
|
||||
@@ -167,6 +169,7 @@ public class SkiaLabel : SkiaView
|
||||
typeof(int),
|
||||
typeof(SkiaLabel),
|
||||
0,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaLabel)b).OnTextChanged());
|
||||
|
||||
/// <summary>
|
||||
@@ -178,6 +181,7 @@ public class SkiaLabel : SkiaView
|
||||
typeof(float),
|
||||
typeof(SkiaLabel),
|
||||
1.2f,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaLabel)b).OnTextChanged());
|
||||
|
||||
/// <summary>
|
||||
@@ -189,6 +193,7 @@ public class SkiaLabel : SkiaView
|
||||
typeof(float),
|
||||
typeof(SkiaLabel),
|
||||
0f,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaLabel)b).Invalidate());
|
||||
|
||||
/// <summary>
|
||||
@@ -200,6 +205,7 @@ public class SkiaLabel : SkiaView
|
||||
typeof(SKRect),
|
||||
typeof(SkiaLabel),
|
||||
SKRect.Empty,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaLabel)b).OnTextChanged());
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -21,6 +21,7 @@ public class SkiaScrollView : SkiaView
|
||||
typeof(ScrollOrientation),
|
||||
typeof(SkiaScrollView),
|
||||
ScrollOrientation.Both,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaScrollView)b).InvalidateMeasure());
|
||||
|
||||
/// <summary>
|
||||
@@ -32,6 +33,7 @@ public class SkiaScrollView : SkiaView
|
||||
typeof(ScrollBarVisibility),
|
||||
typeof(SkiaScrollView),
|
||||
ScrollBarVisibility.Auto,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaScrollView)b).Invalidate());
|
||||
|
||||
/// <summary>
|
||||
@@ -43,6 +45,7 @@ public class SkiaScrollView : SkiaView
|
||||
typeof(ScrollBarVisibility),
|
||||
typeof(SkiaScrollView),
|
||||
ScrollBarVisibility.Auto,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaScrollView)b).Invalidate());
|
||||
|
||||
/// <summary>
|
||||
@@ -54,6 +57,7 @@ public class SkiaScrollView : SkiaView
|
||||
typeof(SKColor),
|
||||
typeof(SkiaScrollView),
|
||||
new SKColor(0x80, 0x80, 0x80, 0x80),
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaScrollView)b).Invalidate());
|
||||
|
||||
/// <summary>
|
||||
@@ -65,6 +69,7 @@ public class SkiaScrollView : SkiaView
|
||||
typeof(float),
|
||||
typeof(SkiaScrollView),
|
||||
8f,
|
||||
BindingMode.TwoWay,
|
||||
propertyChanged: (b, o, n) => ((SkiaScrollView)b).Invalidate());
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user