xtd 0.2.0
Loading...
Searching...
No Matches
font_picker_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/drawing/color>
6#include <xtd/drawing/font>
7#include <xtd/event_args>
8#include <cstdint>
9
11namespace xtd {
13 namespace forms {
15 class control;
17
29 public:
34
36
43
45
49 const xtd::drawing::color& color() const noexcept {return color_;}
50
53 const xtd::drawing::font& font() const noexcept {return font_;}
55
56 private:
59 };
60 }
61}
Represents an ARGB (alpha, red, green, blue) color.
Definition color.h:49
Defines a particular format for text, including font face, size, and style attributes....
Definition font.h:45
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Provides data for the xtd::forms::font_picker::font_picker_changed events.
Definition font_picker_event_args.h:28
const xtd::drawing::color & color() const noexcept
Gets the xtd::drawing::color that represent the xtd::forms::font_picker::color.
Definition font_picker_event_args.h:49
const xtd::drawing::font & font() const noexcept
Gets the xtd::drawing::font that represent the xtd::forms::font_picker::font.
Definition font_picker_event_args.h:53
font_picker_event_args(const xtd::drawing::font &font, const xtd::drawing::color &color)
Initializes a new instance of the font_picker_event_args class for the specified control.
Definition font_picker_event_args.h:41
@ control
The left or right CTRL modifier key.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10