Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Design / CalendarDesigner.cs / 1305376 / CalendarDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Reflection; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.MobileControls.Adapters; using System.Web.UI.Design.MobileControls.Adapters; ////// ////// Provides a designer for the ////// control. /// [ System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) ] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class CalendarDesigner : MobileControlDesigner { private System.Web.UI.MobileControls.Calendar _calendar; /// /// /// /// The control element for design. /// ////// Initializes the designer with the component for design. /// ////// ////// This is called by the designer host to establish the component for /// design. /// ///public override void Initialize(IComponent component) { Debug.Assert(component is System.Web.UI.MobileControls.Calendar, "CalendarDesigner.Initialize - Invalid Calendar Control"); _calendar = (System.Web.UI.MobileControls.Calendar) component; base.Initialize(component); } /// /// ////// Returns the design-time HTML of the ////// mobile control /// /// ////// The HTML of the control. /// ///protected override String GetDesignTimeNormalHtml() { DesignerTextWriter tw = new DesignerTextWriter(); _calendar.Adapter.Render(tw); return tw.ToString(); } } } // 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
- ElementHostAutomationPeer.cs
- WindowsListViewGroup.cs
- ClientTargetCollection.cs
- ChtmlSelectionListAdapter.cs
- HashMembershipCondition.cs
- HwndHost.cs
- SweepDirectionValidation.cs
- PeerInvitationResponse.cs
- MemberBinding.cs
- NotImplementedException.cs
- CompositionAdorner.cs
- BinaryObjectReader.cs
- EnumerableRowCollectionExtensions.cs
- HostSecurityManager.cs
- WebBodyFormatMessageProperty.cs
- ToolboxControl.cs
- CheckBoxPopupAdapter.cs
- _RequestCacheProtocol.cs
- SubqueryTrackingVisitor.cs
- DbConnectionPoolOptions.cs
- BitmapMetadataEnumerator.cs
- ActionNotSupportedException.cs
- ImageCodecInfoPrivate.cs
- OutputWindow.cs
- MetafileHeaderWmf.cs
- CoTaskMemHandle.cs
- TcpConnectionPoolSettings.cs
- AdapterDictionary.cs
- XmlILIndex.cs
- XmlCharCheckingReader.cs
- FlowDocumentPage.cs
- AtomServiceDocumentSerializer.cs
- DataGridCellClipboardEventArgs.cs
- SafeRegistryHandle.cs
- InstanceKeyCompleteException.cs
- formatstringdialog.cs
- ContainerActivationHelper.cs
- PageContent.cs
- SafeHandle.cs
- Tag.cs
- Empty.cs
- InkCanvasSelectionAdorner.cs
- MessageQueueEnumerator.cs
- HtmlInputFile.cs
- DataFieldConverter.cs
- xdrvalidator.cs
- NameValuePermission.cs
- RubberbandSelector.cs
- Separator.cs
- DiscoveryDocumentSearchPattern.cs
- ParameterCollection.cs
- SqlInternalConnectionTds.cs
- HoistedLocals.cs
- DataKeyArray.cs
- IResourceProvider.cs
- FlowDocumentPageViewerAutomationPeer.cs
- HttpModuleActionCollection.cs
- TypeBrowser.xaml.cs
- HeaderCollection.cs
- String.cs
- MaterialGroup.cs
- WindowsFormsSynchronizationContext.cs
- DrawingContextDrawingContextWalker.cs
- CodeNamespace.cs
- CannotUnloadAppDomainException.cs
- StandardMenuStripVerb.cs
- ConcurrentQueue.cs
- EventDescriptor.cs
- XmlSerializerOperationFormatter.cs
- AnnouncementDispatcherAsyncResult.cs
- DtcInterfaces.cs
- ItemList.cs
- DoubleKeyFrameCollection.cs
- ExpressionConverter.cs
- MSAAEventDispatcher.cs
- DriveNotFoundException.cs
- TracedNativeMethods.cs
- TemplateBindingExpressionConverter.cs
- RichTextBoxAutomationPeer.cs
- BindingMAnagerBase.cs
- SerialStream.cs
- updatecommandorderer.cs
- EntityDesignerUtils.cs
- SessionStateItemCollection.cs
- DecimalConverter.cs
- brushes.cs
- XmlSchemaFacet.cs
- Keywords.cs
- ContentType.cs
- BamlVersionHeader.cs
- ListViewGroupItemCollection.cs
- SoapFormatter.cs
- PasswordRecoveryDesigner.cs
- HTMLTextWriter.cs
- LeaseManager.cs
- SupportingTokenSpecification.cs
- InitializerFacet.cs
- StrokeCollection.cs
- SiteMembershipCondition.cs
- XslException.cs