HandyOrg / HandyOrg/HandyControl
InvalidOperationException: “#FFFFFFFF”不是属性“Color”的有效值
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
<hc:DateTimePicker
x:Name="edate"
hc:InfoElement.TitlePlacement="Top"
hc:InfoElement.TitleWidth ="100"
Style="{StaticResource DateTimePickerPlus }"
Width="220"
HorizontalAlignment="Left"
hc:InfoElement.Title="结束"
Margin="5,0,0,0"
hc:InfoElement.Placeholder ="日期"
HorizontalContentAlignment="Left"
DateTimeFormat ="yyyy-MM-dd HH:mm"
FontSize="16"
ShowClearButton="True"
>
点击报错
Steps to reproduce the bug
System.Windows.Markup.XamlParseException:““#FFFFFFFF”不是属性“Color”的有效值。
Expected behavior
No response
Screenshots
No response
NuGet package version
None
IDE
No response
Framework type
No response
Windows version
No response
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the provided DateTimePicker XAML and the DateTimePickerPlus style, then inspect the control and its color-related resources. No source file or test is identified in the issue; done means the XAML loads and clicking the control no longer raises the #FFFFFFFF Color parsing exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100