Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / DayRenderEvent.cs / 1 / DayRenderEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.Security.Permissions;
///
/// Provides data for the event of a .
///
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class DayRenderEventArgs {
CalendarDay day;
TableCell cell;
string selectUrl;
///
/// Initializes a new instance of the class.
///
public DayRenderEventArgs(TableCell cell, CalendarDay day) {
this.day = day;
this.cell = cell;
}
public DayRenderEventArgs(TableCell cell, CalendarDay day, string selectUrl) {
this.day = day;
this.cell = cell;
this.selectUrl = selectUrl;
}
///
/// Gets the cell that contains the day. This property is read-only.
///
public TableCell Cell {
get {
return cell;
}
}
///
/// Gets the day to render. This property is read-only.
///
public CalendarDay Day {
get {
return day;
}
}
public string SelectUrl {
get {
return selectUrl;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System.Security.Permissions;
///
/// Provides data for the event of a .
///
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class DayRenderEventArgs {
CalendarDay day;
TableCell cell;
string selectUrl;
///
/// Initializes a new instance of the class.
///
public DayRenderEventArgs(TableCell cell, CalendarDay day) {
this.day = day;
this.cell = cell;
}
public DayRenderEventArgs(TableCell cell, CalendarDay day, string selectUrl) {
this.day = day;
this.cell = cell;
this.selectUrl = selectUrl;
}
///
/// Gets the cell that contains the day. This property is read-only.
///
public TableCell Cell {
get {
return cell;
}
}
///
/// Gets the day to render. This property is read-only.
///
public CalendarDay Day {
get {
return day;
}
}
public string SelectUrl {
get {
return selectUrl;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MessagePropertyFilter.cs
- EventLogger.cs
- Constants.cs
- MultiView.cs
- XmlIlVisitor.cs
- BuildManager.cs
- TextViewSelectionProcessor.cs
- XmlSchemaSimpleTypeRestriction.cs
- DocumentViewer.cs
- BitmapEffect.cs
- PropertySegmentSerializationProvider.cs
- XmlSiteMapProvider.cs
- PrimitiveXmlSerializers.cs
- _SslState.cs
- ProcessingInstructionAction.cs
- SecurityPermission.cs
- AbstractDataSvcMapFileLoader.cs
- CodeConditionStatement.cs
- SmiContext.cs
- PathGradientBrush.cs
- Cursors.cs
- BuildProvidersCompiler.cs
- columnmapkeybuilder.cs
- IOException.cs
- ImageField.cs
- BufferedStream.cs
- Pair.cs
- CompressedStack.cs
- IndexedString.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ReadOnlyCollection.cs
- ImageUrlEditor.cs
- Int64Storage.cs
- CanonicalXml.cs
- categoryentry.cs
- ToolboxDataAttribute.cs
- IntSecurity.cs
- DataGridViewRowEventArgs.cs
- MonthCalendar.cs
- FastPropertyAccessor.cs
- RemoteWebConfigurationHostStream.cs
- DesignBindingPropertyDescriptor.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DynamicEndpointElement.cs
- HierarchicalDataTemplate.cs
- ButtonRenderer.cs
- TimeSpanValidator.cs
- LayoutTableCell.cs
- AuthenticationSection.cs
- _BufferOffsetSize.cs
- CodeEventReferenceExpression.cs
- SkewTransform.cs
- SystemIPGlobalProperties.cs
- LineInfo.cs
- Visual3DCollection.cs
- PropertyConverter.cs
- WizardPanel.cs
- _ListenerRequestStream.cs
- HttpStreamMessageEncoderFactory.cs
- TextStore.cs
- BamlLocalizableResourceKey.cs
- ListControlDesigner.cs
- Variable.cs
- HostedHttpRequestAsyncResult.cs
- Pointer.cs
- MutexSecurity.cs
- FontStretch.cs
- ApplicationFileParser.cs
- PageContentAsyncResult.cs
- SessionStateContainer.cs
- NavigationWindow.cs
- DateTimeUtil.cs
- ADMembershipProvider.cs
- Int64Storage.cs
- ActivityDelegate.cs
- DuplicateContext.cs
- ImageListUtils.cs
- PanelContainerDesigner.cs
- AnimatedTypeHelpers.cs
- HttpDebugHandler.cs
- COM2ColorConverter.cs
- CookieProtection.cs
- WizardStepCollectionEditor.cs
- XmlSecureResolver.cs
- HierarchicalDataTemplate.cs
- CLRBindingWorker.cs
- CroppedBitmap.cs
- ButtonPopupAdapter.cs
- MenuItemCollectionEditorDialog.cs
- SID.cs
- DetailsViewDeletedEventArgs.cs
- DragSelectionMessageFilter.cs
- DataGridViewColumn.cs
- DebugView.cs
- SectionRecord.cs
- SQLGuidStorage.cs
- NamespaceList.cs
- ToolBarButton.cs
- TraversalRequest.cs
- XmlSchemaSimpleType.cs