1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="CalendarDay" FullName="System.Web.UI.WebControls.CalendarDay">
3  <TypeSignature Language="C#" Value="public class CalendarDay" Maintainer="auto" />
4  <AssemblyInfo>
5    <AssemblyName>System.Web</AssemblyName>
6    <AssemblyPublicKey>
7    </AssemblyPublicKey>
8    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9    <AssemblyVersion>2.0.0.0</AssemblyVersion>
10  </AssemblyInfo>
11  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
12  <Base>
13    <BaseTypeName>System.Object</BaseTypeName>
14  </Base>
15  <Interfaces />
16  <Docs>
17    <remarks>
18      <attribution license="cc4" from="Microsoft" modified="false" />
19      <para>A <see cref="T:System.Web.UI.WebControls.CalendarDay" /> object represents a date in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. You can use this class in the <see cref="E:System.Web.UI.WebControls.Calendar.DayRender" /> event handler to programmatically access the properties of a date as it is rendered on the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This allows you to determine the properties of the day (such as whether the date is selectable, selected, today's date, or a weekend date) and programmatically control the appearance or behavior of the day.</para>
20      <para>For a list of initial property values for an instance of <see cref="T:System.Web.UI.WebControls.CalendarDay" />, see the <see cref="M:System.Web.UI.WebControls.CalendarDay.#ctor(System.DateTime,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String)" /> constructor.</para>
21    </remarks>
22    <summary>
23      <attribution license="cc4" from="Microsoft" modified="false" />
24      <para>Represents a date in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control.</para>
25    </summary>
26  </Docs>
27  <Members>
28    <Member MemberName=".ctor">
29      <MemberSignature Language="C#" Value="public CalendarDay (DateTime date, bool isWeekend, bool isToday, bool isSelected, bool isOtherMonth, string dayNumberText);" />
30      <MemberType>Constructor</MemberType>
31      <ReturnValue />
32      <Parameters>
33        <Parameter Name="date" Type="System.DateTime" />
34        <Parameter Name="isWeekend" Type="System.Boolean" />
35        <Parameter Name="isToday" Type="System.Boolean" />
36        <Parameter Name="isSelected" Type="System.Boolean" />
37        <Parameter Name="isOtherMonth" Type="System.Boolean" />
38        <Parameter Name="dayNumberText" Type="System.String" />
39      </Parameters>
40      <Docs>
41        <remarks>
42          <attribution license="cc4" from="Microsoft" modified="false" />
43          <para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.CalendarDay" /> class.</para>
44          <block subset="none" type="note">
45            <para>Although this constructor is available, an instance of the <see cref="T:System.Web.UI.WebControls.CalendarDay" /> class is not typically created dynamically.</para>
46          </block>
47          <para>The following table shows initial property values for an instance of <see cref="T:System.Web.UI.WebControls.CalendarDay" />.</para>
48          <list type="table">
49            <listheader>
50              <item>
51                <term>
52                  <para>Property </para>
53                </term>
54                <description>
55                  <para>Initial Value </para>
56                </description>
57              </item>
58            </listheader>
59            <item>
60              <term>
61                <para>Date </para>
62              </term>
63              <description>
64                <para>The value of the <paramref name="date" /> parameter. </para>
65              </description>
66            </item>
67            <item>
68              <term>
69                <para>DayNumberText </para>
70              </term>
71              <description>
72                <para>The value of the <paramref name="dayNumberText" /> parameter. </para>
73              </description>
74            </item>
75            <item>
76              <term>
77                <para>IsOtherMonth </para>
78              </term>
79              <description>
80                <para>The value of the <paramref name="isOtherMonth" /> parameter. </para>
81              </description>
82            </item>
83            <item>
84              <term>
85                <para>IsSelected </para>
86              </term>
87              <description>
88                <para>The value of the <paramref name="isSelected" /> parameter. </para>
89              </description>
90            </item>
91            <item>
92              <term>
93                <para>IsToday </para>
94              </term>
95              <description>
96                <para>The value of the <paramref name="isToday" /> parameter. </para>
97              </description>
98            </item>
99            <item>
100              <term>
101                <para>IsWeekend </para>
102              </term>
103              <description>
104                <para>The value of the <paramref name="isWeekEnd" /> parameter. </para>
105              </description>
106            </item>
107          </list>
108        </remarks>
109        <summary>
110          <attribution license="cc4" from="Microsoft" modified="false" />
111          <para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.CalendarDay" /> class.</para>
112        </summary>
113        <param name="date">
114          <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.DateTime" /> object that contains the date represented by an instance of this class. </param>
115        <param name="isWeekend">
116          <attribution license="cc4" from="Microsoft" modified="false" />true to indicate that the date represented by an instance of this class is either a Saturday or a Sunday; otherwise, false. </param>
117        <param name="isToday">
118          <attribution license="cc4" from="Microsoft" modified="false" />true to indicate that the date represented by an instance of this class is the current date; otherwise, false. </param>
119        <param name="isSelected">
120          <attribution license="cc4" from="Microsoft" modified="false" />true to indicate that the date represented by an instance of this class is selected on the <see cref="T:System.Web.UI.WebControls.Calendar" /> control; otherwise, false. </param>
121        <param name="isOtherMonth">
122          <attribution license="cc4" from="Microsoft" modified="false" />true to indicate that the date represented by an instance of this class is in a month other than the displayed month on the <see cref="T:System.Web.UI.WebControls.Calendar" /> control; otherwise, false. </param>
123        <param name="dayNumberText">
124          <attribution license="cc4" from="Microsoft" modified="false" />The day number for the date represented by this class. </param>
125      </Docs>
126      <AssemblyInfo>
127        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
128        <AssemblyVersion>2.0.0.0</AssemblyVersion>
129      </AssemblyInfo>
130    </Member>
131    <Member MemberName="Date">
132      <MemberSignature Language="C#" Value="public DateTime Date { get; }" />
133      <MemberType>Property</MemberType>
134      <ReturnValue>
135        <ReturnType>System.DateTime</ReturnType>
136      </ReturnValue>
137      <Docs>
138        <value>To be added: an object of type 'DateTime'</value>
139        <remarks>
140          <attribution license="cc4" from="Microsoft" modified="false" />
141          <para>Use the <see cref="P:System.Web.UI.WebControls.CalendarDay.Date" /> property to programmatically determine the date represented by an instance of this class.</para>
142        </remarks>
143        <summary>
144          <attribution license="cc4" from="Microsoft" modified="false" />
145          <para>Gets the date represented by an instance of this class. This property is read-only.</para>
146        </summary>
147      </Docs>
148      <AssemblyInfo>
149        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
150        <AssemblyVersion>2.0.0.0</AssemblyVersion>
151      </AssemblyInfo>
152    </Member>
153    <Member MemberName="DayNumberText">
154      <MemberSignature Language="C#" Value="public string DayNumberText { get; }" />
155      <MemberType>Property</MemberType>
156      <ReturnValue>
157        <ReturnType>System.String</ReturnType>
158      </ReturnValue>
159      <Docs>
160        <value>To be added: an object of type 'string'</value>
161        <remarks>
162          <attribution license="cc4" from="Microsoft" modified="false" />
163          <para>Use the <see cref="P:System.Web.UI.WebControls.CalendarDay.DayNumberText" /> property to determine the string equivalent of the day number for the date represented by an instance of this class. This allows you to programmatically control the appearance or behavior of the day, based on this value.</para>
164        </remarks>
165        <summary>
166          <attribution license="cc4" from="Microsoft" modified="false" />
167          <para>Gets the string equivalent of the day number for the date represented by an instance of the <see cref="T:System.Web.UI.WebControls.CalendarDay" /> class. This property is read-only.</para>
168        </summary>
169      </Docs>
170      <AssemblyInfo>
171        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
172        <AssemblyVersion>2.0.0.0</AssemblyVersion>
173      </AssemblyInfo>
174    </Member>
175    <Member MemberName="IsOtherMonth">
176      <MemberSignature Language="C#" Value="public bool IsOtherMonth { get; }" />
177      <MemberType>Property</MemberType>
178      <ReturnValue>
179        <ReturnType>System.Boolean</ReturnType>
180      </ReturnValue>
181      <Docs>
182        <value>To be added: an object of type 'bool'</value>
183        <remarks>
184          <attribution license="cc4" from="Microsoft" modified="false" />
185          <para>Use the <see cref="P:System.Web.UI.WebControls.CalendarDay.IsOtherMonth" /> property to programmatically determine whether the date represented by an instance of this class is in a month other than the month displayed in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This allows you to programmatically control the appearance or behavior of the day based on this value.</para>
186        </remarks>
187        <summary>
188          <attribution license="cc4" from="Microsoft" modified="false" />
189          <para>Gets a value that indicates whether the date represented by an instance of this class is in a month other than the month displayed in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This property is read-only.</para>
190        </summary>
191      </Docs>
192      <AssemblyInfo>
193        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
194        <AssemblyVersion>2.0.0.0</AssemblyVersion>
195      </AssemblyInfo>
196    </Member>
197    <Member MemberName="IsSelectable">
198      <MemberSignature Language="C#" Value="public bool IsSelectable { set; get; }" />
199      <MemberType>Property</MemberType>
200      <ReturnValue>
201        <ReturnType>System.Boolean</ReturnType>
202      </ReturnValue>
203      <Parameters />
204      <Docs>
205        <value>To be added: an object of type 'bool'</value>
206        <remarks>
207          <attribution license="cc4" from="Microsoft" modified="false" />
208          <para>Use the <see cref="P:System.Web.UI.WebControls.CalendarDay.IsSelectable" /> property to specify or determine whether the date represented by an instance of this class can be selected in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This allows you to programmatically control the appearance behavior of the day, based on this value.</para>
209        </remarks>
210        <summary>
211          <attribution license="cc4" from="Microsoft" modified="false" />
212          <para>Gets or sets a value that indicates whether the date represented by an instance of this class can be selected in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control.</para>
213        </summary>
214      </Docs>
215      <AssemblyInfo>
216        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
217        <AssemblyVersion>2.0.0.0</AssemblyVersion>
218      </AssemblyInfo>
219    </Member>
220    <Member MemberName="IsSelected">
221      <MemberSignature Language="C#" Value="public bool IsSelected { get; }" />
222      <MemberType>Property</MemberType>
223      <ReturnValue>
224        <ReturnType>System.Boolean</ReturnType>
225      </ReturnValue>
226      <Docs>
227        <value>To be added: an object of type 'bool'</value>
228        <remarks>
229          <attribution license="cc4" from="Microsoft" modified="false" />
230          <para>Use the <see cref="P:System.Web.UI.WebControls.CalendarDay.IsSelected" /> property to programmatically determine whether the date represented by an instance of this class is selected in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This allows you to programmatically control the appearance or behavior of the day, based on this value.</para>
231        </remarks>
232        <summary>
233          <attribution license="cc4" from="Microsoft" modified="false" />
234          <para>Gets a value that indicates whether the date represented by an instance of this class is selected in the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This property is read-only.</para>
235        </summary>
236      </Docs>
237      <AssemblyInfo>
238        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
239        <AssemblyVersion>2.0.0.0</AssemblyVersion>
240      </AssemblyInfo>
241    </Member>
242    <Member MemberName="IsToday">
243      <MemberSignature Language="C#" Value="public bool IsToday { get; }" />
244      <MemberType>Property</MemberType>
245      <ReturnValue>
246        <ReturnType>System.Boolean</ReturnType>
247      </ReturnValue>
248      <Docs>
249        <value>To be added: an object of type 'bool'</value>
250        <remarks>
251          <attribution license="cc4" from="Microsoft" modified="false" />
252          <para>Use the <see cref="P:System.Web.UI.WebControls.CalendarDay.IsToday" /> property to programmatically determine whether the date represented by an instance of this class is the same date specified by the <see cref="P:System.Web.UI.WebControls.Calendar.TodaysDate" /> property of the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This allows you to programmatically control the appearance or behavior of the day, based on this value.</para>
253          <block subset="none" type="note">
254            <para>Although the date specified by the <see cref="P:System.Web.UI.WebControls.Calendar.TodaysDate" /> property is usually the system date on the server, it is possible to change it, if necessary.</para>
255          </block>
256        </remarks>
257        <summary>
258          <attribution license="cc4" from="Microsoft" modified="false" />
259          <para>Gets a value that indicates whether the date represented by an instance of this class is the same date specified by the <see cref="P:System.Web.UI.WebControls.Calendar.TodaysDate" /> property of the <see cref="T:System.Web.UI.WebControls.Calendar" /> control. This property is read-only.</para>
260        </summary>
261      </Docs>
262      <AssemblyInfo>
263        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
264        <AssemblyVersion>2.0.0.0</AssemblyVersion>
265      </AssemblyInfo>
266    </Member>
267    <Member MemberName="IsWeekend">
268      <MemberSignature Language="C#" Value="public bool IsWeekend { get; }" />
269      <MemberType>Property</MemberType>
270      <ReturnValue>
271        <ReturnType>System.Boolean</ReturnType>
272      </ReturnValue>
273      <Docs>
274        <value>To be added: an object of type 'bool'</value>
275        <remarks>
276          <attribution license="cc4" from="Microsoft" modified="false" />
277          <para>Use the <see cref="P:System.Web.UI.WebControls.CalendarDay.IsWeekend" /> property to programmatically determine whether the date represented by an instance of this class is either a Saturday or a Sunday. This allows you to programmatically control the appearance or behavior of the day, based on this value.</para>
278        </remarks>
279        <summary>
280          <attribution license="cc4" from="Microsoft" modified="false" />
281          <para>Gets a value that indicates whether the date represented by an instance of this class is a either Saturday or Sunday. This property is read-only.</para>
282        </summary>
283      </Docs>
284      <AssemblyInfo>
285        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
286        <AssemblyVersion>2.0.0.0</AssemblyVersion>
287      </AssemblyInfo>
288    </Member>
289  </Members>
290</Type>