xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
date_range_event_args.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/date_time>
6
#include <xtd/event_args>
7
#include <cstdint>
8
10
namespace
xtd
{
12
namespace
forms
{
14
class
control
;
16
30
class
date_range_event_args
:
public
xtd::event_args
{
31
public
:
33
37
date_range_event_args
(
const
xtd::date_time
&
start
,
const
xtd::date_time
&
end
) : start_(
start
), end_(
end
) {}
39
41
45
[[nodiscard]]
auto
end
() const noexcept -> const
xtd
::
date_time
& {
return
end_;}
46
49
[[nodiscard]]
auto
start
() const noexcept -> const
xtd
::
date_time
& {
return
start_;}
51
52
private
:
53
xtd::date_time
start_;
54
xtd::date_time
end_;
55
};
56
}
57
}
xtd::date_time
Represents an instant in time, typically expressed as a date and time of day.
Definition
date_time.hpp:83
xtd::event_args
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition
event_args.hpp:18
xtd::forms::control
Defines the base class for controls, which are components with visual representation.
Definition
control.hpp:81
xtd::forms::date_range_event_args::date_range_event_args
date_range_event_args(const xtd::date_time &start, const xtd::date_time &end)
Initializes a new instance of the xtd::forms::date_range_event_args class.
Definition
date_range_event_args.hpp:37
xtd::forms::date_range_event_args::end
auto end() const noexcept -> const xtd::date_time &
Gets the last date/time value in the range that the user has selected.
Definition
date_range_event_args.hpp:45
xtd::forms::date_range_event_args::start
auto start() const noexcept -> const xtd::date_time &
Gets the first date/time value in the range that the user has selected.
Definition
date_range_event_args.hpp:49
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.