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 / HtmlControls / HtmlGenericControl.cs / 1 / HtmlGenericControl.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlGenericControl.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System; using System.Collections; using System.ComponentModel; using System.IO; using System.Web.UI; using System.Security.Permissions; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlGenericControl : HtmlContainerControl { /* * Creates a new WebControl */ ////// The ///class defines the methods, /// properties, and events for all HTML Server control tags not represented by a /// specific class. /// /// public HtmlGenericControl() : this("span") { } /* * Creates a new HtmlGenericControl */ ///Initializes a new instance of the ///class with default /// values. /// public HtmlGenericControl(string tag) { if (tag == null) tag = String.Empty; _tagName = tag; } /* * Property to get name of tag. */ ///Initializes a new instance of the ///class using the specified /// string. /// [ WebCategory("Appearance"), DefaultValue(""), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden) ] new public string TagName { get { return _tagName;} set {_tagName = value;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the element name of a tag that contains a /// runat="server" attribute/value pair. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlGenericControl.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System; using System.Collections; using System.ComponentModel; using System.IO; using System.Web.UI; using System.Security.Permissions; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlGenericControl : HtmlContainerControl { /* * Creates a new WebControl */ ////// The ///class defines the methods, /// properties, and events for all HTML Server control tags not represented by a /// specific class. /// /// public HtmlGenericControl() : this("span") { } /* * Creates a new HtmlGenericControl */ ///Initializes a new instance of the ///class with default /// values. /// public HtmlGenericControl(string tag) { if (tag == null) tag = String.Empty; _tagName = tag; } /* * Property to get name of tag. */ ///Initializes a new instance of the ///class using the specified /// string. /// [ WebCategory("Appearance"), DefaultValue(""), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden) ] new public string TagName { get { return _tagName;} set {_tagName = value;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the element name of a tag that contains a /// runat="server" attribute/value pair. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FixedPosition.cs
- BindableAttribute.cs
- CatalogZoneAutoFormat.cs
- EncoderReplacementFallback.cs
- DashStyle.cs
- SubordinateTransaction.cs
- ToolStripDesignerAvailabilityAttribute.cs
- TextEffect.cs
- ElementHostAutomationPeer.cs
- SharingService.cs
- Internal.cs
- CodeTypeDeclarationCollection.cs
- DiffuseMaterial.cs
- WebPermission.cs
- VScrollBar.cs
- WindowsFormsHost.cs
- Utils.cs
- TypeCollectionPropertyEditor.cs
- SplashScreen.cs
- SingleAnimationUsingKeyFrames.cs
- ByteConverter.cs
- LowerCaseStringConverter.cs
- EntityDataSourceSelectingEventArgs.cs
- FloaterParaClient.cs
- StreamMarshaler.cs
- RangeBase.cs
- Lasso.cs
- DateTimeOffsetConverter.cs
- PlainXmlSerializer.cs
- SqlNotificationRequest.cs
- ObjectResult.cs
- VScrollProperties.cs
- BitmapCodecInfo.cs
- UrlPropertyAttribute.cs
- TextEvent.cs
- BinaryCommonClasses.cs
- ContractsBCL.cs
- StyleBamlTreeBuilder.cs
- ClaimSet.cs
- ColumnResizeAdorner.cs
- PreservationFileReader.cs
- PanelStyle.cs
- TagPrefixCollection.cs
- FeatureManager.cs
- ProfessionalColorTable.cs
- Geometry3D.cs
- CursorInteropHelper.cs
- DirectionalLight.cs
- ConditionCollection.cs
- TrackBar.cs
- ControlBindingsCollection.cs
- CompoundFileReference.cs
- EndCreateSecurityTokenRequest.cs
- ProjectionCamera.cs
- ContainerParagraph.cs
- updatecommandorderer.cs
- IISMapPath.cs
- ToolStripSettings.cs
- SizeF.cs
- ProfileBuildProvider.cs
- QilFunction.cs
- PixelFormat.cs
- MulticastNotSupportedException.cs
- DataServiceQuery.cs
- URL.cs
- Internal.cs
- DependencySource.cs
- GenerateHelper.cs
- TrackBar.cs
- PriorityChain.cs
- ScriptResourceAttribute.cs
- ExtensionsSection.cs
- BitmapPalettes.cs
- SimpleMailWebEventProvider.cs
- WindowAutomationPeer.cs
- FormViewActionList.cs
- SelectionProviderWrapper.cs
- MaterialGroup.cs
- EntityException.cs
- SQLInt32Storage.cs
- SqlRecordBuffer.cs
- MembershipSection.cs
- CookieParameter.cs
- DurableMessageDispatchInspector.cs
- ProjectionQueryOptionExpression.cs
- WhitespaceReader.cs
- DataGridViewRowsAddedEventArgs.cs
- ColorConvertedBitmapExtension.cs
- NativeWrapper.cs
- WmlObjectListAdapter.cs
- ResourceProviderFactory.cs
- StructuralObject.cs
- _BufferOffsetSize.cs
- EmptyReadOnlyDictionaryInternal.cs
- DesignConnection.cs
- XmlSchemaObject.cs
- StateBag.cs
- Policy.cs
- RequestQueryProcessor.cs
- TextEditorMouse.cs