Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / CalendarDay.cs / 1 / CalendarDay.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.ComponentModel; using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class CalendarDay { private DateTime date; private bool isSelectable; private bool isToday; private bool isWeekend; private bool isOtherMonth; private bool isSelected; private string dayNumberText; ///Represents a calendar day. ////// public CalendarDay(DateTime date, bool isWeekend, bool isToday, bool isSelected, bool isOtherMonth, string dayNumberText) { this.date = date; this.isWeekend = isWeekend; this.isToday = isToday; this.isOtherMonth = isOtherMonth; this.isSelected = isSelected; this.dayNumberText = dayNumberText; } ///[To be supplied.] ////// public DateTime Date { get { return date; } } ///Gets the date represented by an instance of this class. This /// property is read-only. ////// public string DayNumberText { get { return dayNumberText; } } ///Gets the string equivilent of the date represented by an instance of this class. This property is read-only. ////// public bool IsOtherMonth { get { return isOtherMonth; } } ///Gets a value indicating whether the date represented by an instance of /// this class is in a different month from the month currently being displayed. This /// property is read-only. ////// public bool IsSelectable { get { return isSelectable; } set { isSelectable = value; } } ///Gets or sets a value indicating whether the date represented /// by an instance of /// this class can be selected. ////// public bool IsSelected { get { return isSelected; } } ///Gets a value indicating whether date represented by an instance of this class is selected. This property is read-only. ////// public bool IsToday { get { return isToday; } } ///Gets a value indicating whether the date represented by an instance of this class is today's date. This property is read-only. ////// public bool IsWeekend { get { return isWeekend; } } } }Gets a value indicating whether the date represented by an instance of /// this class is on a weekend day. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AssertUtility.cs
- SignatureHelper.cs
- DeviceOverridableAttribute.cs
- IItemProperties.cs
- ZipIOExtraFieldZip64Element.cs
- filewebresponse.cs
- RubberbandSelector.cs
- StaticTextPointer.cs
- OptionalRstParameters.cs
- DataGridPagerStyle.cs
- AtlasWeb.Designer.cs
- SchemaImporterExtensionsSection.cs
- ConfigXmlSignificantWhitespace.cs
- CultureNotFoundException.cs
- BoolLiteral.cs
- ThrowHelper.cs
- StrongNamePublicKeyBlob.cs
- FontSizeConverter.cs
- XpsInterleavingPolicy.cs
- DockPatternIdentifiers.cs
- HttpInputStream.cs
- RemotingHelper.cs
- CopyCodeAction.cs
- PrtCap_Public_Simple.cs
- DataGridRowHeaderAutomationPeer.cs
- ExpandableObjectConverter.cs
- LocatorGroup.cs
- DictionarySectionHandler.cs
- ModifierKeysConverter.cs
- TextOutput.cs
- ProfilePropertyNameValidator.cs
- MeshGeometry3D.cs
- ResourceExpressionEditorSheet.cs
- XhtmlConformanceSection.cs
- DataServices.cs
- PersonalizationProviderHelper.cs
- QuotedPrintableStream.cs
- DataControlFieldTypeEditor.cs
- MenuItemStyle.cs
- WebPartUserCapability.cs
- Binding.cs
- AttachedPropertyDescriptor.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ServiceOperationHelpers.cs
- PermissionSetEnumerator.cs
- RectangleF.cs
- SystemInfo.cs
- MasterPageParser.cs
- EntityType.cs
- OperationSelectorBehavior.cs
- StrokeNodeData.cs
- AutoResetEvent.cs
- DbDataAdapter.cs
- NavigationProperty.cs
- MappedMetaModel.cs
- VSDExceptions.cs
- ModuleElement.cs
- SocketInformation.cs
- Int64Storage.cs
- QueryResponse.cs
- TableCellAutomationPeer.cs
- DataSourceXmlSerializationAttribute.cs
- SqlFunctionAttribute.cs
- ContextMarshalException.cs
- TableProviderWrapper.cs
- Timeline.cs
- MsmqIntegrationMessagePool.cs
- ServiceHostFactory.cs
- XmlSchemaGroup.cs
- StandardCommands.cs
- OracleDataReader.cs
- RelOps.cs
- TriState.cs
- SecurityTokenProvider.cs
- UpDownEvent.cs
- ActivityInterfaces.cs
- DesignerFrame.cs
- Int16KeyFrameCollection.cs
- securitycriticaldataClass.cs
- ItemsChangedEventArgs.cs
- FieldNameLookup.cs
- AsyncPostBackErrorEventArgs.cs
- DeviceContext2.cs
- XmlArrayItemAttributes.cs
- RequestCachePolicy.cs
- QueryInterceptorAttribute.cs
- DBCommand.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- FilterQueryOptionExpression.cs
- HttpResponseInternalBase.cs
- Error.cs
- Focus.cs
- ExceptionUtil.cs
- XPathPatternParser.cs
- OrthographicCamera.cs
- WebPartTransformer.cs
- WMIInterop.cs
- SQLCharsStorage.cs
- X509SecurityTokenAuthenticator.cs
- MatrixCamera.cs