1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="SelectionRange" FullName="System.Windows.Forms.SelectionRange">
3 <TypeSignature Language="C#" Value="public sealed class SelectionRange" />
5 <AssemblyName>System.Windows.Forms</AssemblyName>
6 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
7 <AssemblyVersion>2.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.Object</BaseTypeName>
15 <AttributeName>System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.SelectionRangeConverter))</AttributeName>
20 <attribution license="cc4" from="Microsoft" modified="false" />
21 <para>The <see cref="T:System.Windows.Forms.SelectionRange" /> is the date or dates selected and highlighted on the <see cref="T:System.Windows.Forms.MonthCalendar" /> control. If only one date is selected, the <see cref="P:System.Windows.Forms.SelectionRange.Start" /> and <see cref="P:System.Windows.Forms.SelectionRange.End" /> property values will be equal. The <see cref="T:System.Windows.Forms.SelectionRange" /> can be changed by the user clicking a date while dragging the mouse pointer across the desired dates, or you can set the range in code. For example, you might want to have the user enter a date range into two <see cref="T:System.Windows.Forms.TextBox" /> controls or two <see cref="T:System.Windows.Forms.DateTimePicker" /> controls and set the <see cref="T:System.Windows.Forms.SelectionRange" /> based on those dates.</para>
24 <attribution license="cc4" from="Microsoft" modified="false" />
25 <para>Represents a date selection range in a month calendar control.</para>
29 <Member MemberName=".ctor">
30 <MemberSignature Language="C#" Value="public SelectionRange ();" />
31 <MemberType>Constructor</MemberType>
35 <attribution license="cc4" from="Microsoft" modified="false" />
36 <para>The <see cref="P:System.Windows.Forms.SelectionRange.Start" /> and <see cref="P:System.Windows.Forms.SelectionRange.End" /> values are set to null when this constructor is used.</para>
39 <attribution license="cc4" from="Microsoft" modified="false" />
40 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.SelectionRange" /> class.</para>
44 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
45 <AssemblyVersion>2.0.0.0</AssemblyVersion>
48 <Member MemberName=".ctor">
49 <MemberSignature Language="C#" Value="public SelectionRange (System.Windows.Forms.SelectionRange range);" />
50 <MemberType>Constructor</MemberType>
52 <Parameter Name="range" Type="System.Windows.Forms.SelectionRange" />
56 <attribution license="cc4" from="Microsoft" modified="false" />
57 <para>The <see cref="P:System.Windows.Forms.SelectionRange.Start" /> and <see cref="P:System.Windows.Forms.SelectionRange.End" /> property values are assigned the <see cref="P:System.Windows.Forms.SelectionRange.Start" /> and <see cref="P:System.Windows.Forms.SelectionRange.End" /> property values of the assigned <see cref="T:System.Windows.Forms.SelectionRange" /> object.</para>
60 <attribution license="cc4" from="Microsoft" modified="false" />
61 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.SelectionRange" /> class with the specified selection range.</para>
64 <attribution license="cc4" from="Microsoft" modified="false" />The existing <see cref="T:System.Windows.Forms.SelectionRange" />. </param>
67 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
68 <AssemblyVersion>2.0.0.0</AssemblyVersion>
71 <Member MemberName=".ctor">
72 <MemberSignature Language="C#" Value="public SelectionRange (DateTime lower, DateTime upper);" />
73 <MemberType>Constructor</MemberType>
75 <Parameter Name="lower" Type="System.DateTime" />
76 <Parameter Name="upper" Type="System.DateTime" />
80 <attribution license="cc4" from="Microsoft" modified="false" />
81 <block subset="none" type="note">
82 <para>If the <paramref name="lower" /> <see cref="T:System.DateTime" /> value is greater than the <paramref name="upper" /> <see cref="T:System.DateTime" /> value, the <paramref name="lower" /> value will be assigned to the <see cref="P:System.Windows.Forms.SelectionRange.End" /> property instead of the <see cref="P:System.Windows.Forms.SelectionRange.Start" /> property.</para>
86 <attribution license="cc4" from="Microsoft" modified="false" />
87 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.SelectionRange" /> class with the specified beginning and ending dates.</para>
90 <attribution license="cc4" from="Microsoft" modified="false" />The starting date in the <see cref="T:System.Windows.Forms.SelectionRange" />. </param>
92 <attribution license="cc4" from="Microsoft" modified="false" />The ending date in the <see cref="T:System.Windows.Forms.SelectionRange" />. </param>
95 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
96 <AssemblyVersion>2.0.0.0</AssemblyVersion>
99 <Member MemberName="End">
100 <MemberSignature Language="C#" Value="public DateTime End { set; get; }" />
101 <MemberType>Property</MemberType>
103 <ReturnType>System.DateTime</ReturnType>
106 <value>To be added.</value>
107 <remarks>To be added.</remarks>
109 <attribution license="cc4" from="Microsoft" modified="false" />
110 <para>Gets or sets the ending date and time of the selection range.</para>
114 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
115 <AssemblyVersion>2.0.0.0</AssemblyVersion>
118 <Member MemberName="Start">
119 <MemberSignature Language="C#" Value="public DateTime Start { set; get; }" />
120 <MemberType>Property</MemberType>
122 <ReturnType>System.DateTime</ReturnType>
125 <value>To be added.</value>
126 <remarks>To be added.</remarks>
128 <attribution license="cc4" from="Microsoft" modified="false" />
129 <para>Gets or sets the starting date and time of the selection range.</para>
133 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
134 <AssemblyVersion>2.0.0.0</AssemblyVersion>
137 <Member MemberName="ToString">
138 <MemberSignature Language="C#" Value="public override string ToString ();" />
139 <MemberType>Method</MemberType>
141 <ReturnType>System.String</ReturnType>
146 <attribution license="cc4" from="Microsoft" modified="false" />
147 <para>The <see cref="M:System.Windows.Forms.SelectionRange.ToString" /> method returns a string that includes the values for the <see cref="P:System.Windows.Forms.SelectionRange.Start" /> and <see cref="P:System.Windows.Forms.SelectionRange.End" /> properties.</para>
150 <attribution license="cc4" from="Microsoft" modified="false" />
151 <para>Returns a string that represents the <see cref="T:System.Windows.Forms.SelectionRange" />.</para>
154 <attribution license="cc4" from="Microsoft" modified="false" />
155 <para>A string that represents the current <see cref="T:System.Windows.Forms.SelectionRange" />.</para>
159 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
160 <AssemblyVersion>2.0.0.0</AssemblyVersion>