feat: make text editable.

This commit is contained in:
Dong Bin
2025-02-19 21:35:44 +08:00
parent 46498c6eee
commit 6461490c34
6 changed files with 356 additions and 97 deletions

View File

@@ -26,7 +26,7 @@
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="{TemplateBinding CornerRadius}" />
<Grid ColumnDefinitions="*, Auto, * Auto">
<Grid ColumnDefinitions="*, Auto, * Auto" Name="PART_PassThroughElement">
<TextBox
Name="{x:Static u:DateRangePicker.PART_StartTextBox}"
Grid.Column="0"
@@ -75,6 +75,7 @@
</Grid>
<Popup
Name="{x:Static contracts:PartNames.PART_Popup}"
OverlayInputPassThroughElement="{Binding #PART_PassThroughElement}"
HorizontalOffset="-4"
IsLightDismissEnabled="True"
IsOpen="{TemplateBinding IsDropdownOpen,