RgbColorPicker
is a WPF control that allows the user to select a color using RGB (Red, Green, Blue) values. It also supports hexadecimal color codes.
First, add the RgbColorPicker
to your XAML file:
<local:RgbColorPicker x:Name="MyColorPicker" />
Then, you can customize its properties according to your needs.
Type: Color
This property represents the selected color. It is a dependency property.
Type: int
This property represents the red component of the selected color. It is a dependency property.
Type: int
This property represents the green component of the selected color. It is a dependency property.
Type: int
This property represents the blue component of the selected color. It is a dependency property.
Type: string
This property represents the hexadecimal value of the selected color. It is a dependency property.
Type: ICommand
This command triggers the color update based on the Red, Green, and Blue property values.
This event is fired whenever the color changes.
Please see the CONTRIBUTING.md file for details on how to contribute to this project.
This project is licensed under the MIT License. Please see the LICENSE file for more details.
If you have any questions, feel free to open an issue or submit a pull request. We appreciate your feedback and contributions!