164 lines
8.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Type Name="SelectionRange" FullName="System.Windows.Forms.SelectionRange">
<TypeSignature Language="C#" Value="public sealed class SelectionRange" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.SelectionRangeConverter))</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<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>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a date selection range in a month calendar control.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SelectionRange ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<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>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Windows.Forms.SelectionRange" /> class.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SelectionRange (System.Windows.Forms.SelectionRange range);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="range" Type="System.Windows.Forms.SelectionRange" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<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>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Windows.Forms.SelectionRange" /> class with the specified selection range.</para>
</summary>
<param name="range">
<attribution license="cc4" from="Microsoft" modified="false" />The existing <see cref="T:System.Windows.Forms.SelectionRange" />. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SelectionRange (DateTime lower, DateTime upper);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="lower" Type="System.DateTime" />
<Parameter Name="upper" Type="System.DateTime" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<block subset="none" type="note">
<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>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Windows.Forms.SelectionRange" /> class with the specified beginning and ending dates.</para>
</summary>
<param name="lower">
<attribution license="cc4" from="Microsoft" modified="false" />The starting date in the <see cref="T:System.Windows.Forms.SelectionRange" />. </param>
<param name="upper">
<attribution license="cc4" from="Microsoft" modified="false" />The ending date in the <see cref="T:System.Windows.Forms.SelectionRange" />. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="End">
<MemberSignature Language="C#" Value="public DateTime End { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the ending date and time of the selection range.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Start">
<MemberSignature Language="C#" Value="public DateTime Start { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the starting date and time of the selection range.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<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>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a string that represents the <see cref="T:System.Windows.Forms.SelectionRange" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A string that represents the current <see cref="T:System.Windows.Forms.SelectionRange" />.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>