Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlGenericControl.cs / 1305376 / 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; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] 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; /* * A control representing an unknown Html tag. */ ////// [ConstructorNeedsTag(true)] 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
- DataReceivedEventArgs.cs
- UserInitiatedNavigationPermission.cs
- CommonObjectSecurity.cs
- ProvideValueServiceProvider.cs
- AutoGeneratedField.cs
- CryptoApi.cs
- TextPointerBase.cs
- Int16AnimationBase.cs
- TextRenderingModeValidation.cs
- ICspAsymmetricAlgorithm.cs
- JsonFormatMapping.cs
- MailAddressCollection.cs
- FormViewCommandEventArgs.cs
- SamlConstants.cs
- RotateTransform.cs
- XmlQueryTypeFactory.cs
- UInt32Converter.cs
- MDIControlStrip.cs
- ResizeGrip.cs
- SecureStringHasher.cs
- HtmlForm.cs
- FontDialog.cs
- M3DUtil.cs
- AuthenticationException.cs
- RoutedPropertyChangedEventArgs.cs
- GradientStop.cs
- XmlAggregates.cs
- NotificationContext.cs
- System.Data.OracleClient_BID.cs
- ZoneIdentityPermission.cs
- TextEditorParagraphs.cs
- TouchesOverProperty.cs
- SequenceDesignerAccessibleObject.cs
- TemplateNameScope.cs
- ClientUtils.cs
- Constants.cs
- SizeChangedEventArgs.cs
- CancellationToken.cs
- UpDownBase.cs
- ErrorEventArgs.cs
- TemplateManager.cs
- SortExpressionBuilder.cs
- SqlInternalConnectionSmi.cs
- List.cs
- SQLString.cs
- BindingRestrictions.cs
- XmlHierarchyData.cs
- SingleKeyFrameCollection.cs
- CodeDomDesignerLoader.cs
- path.cs
- PerformanceCounterCategory.cs
- EncodingFallbackAwareXmlTextWriter.cs
- SQLDecimalStorage.cs
- PageAsyncTask.cs
- XPathItem.cs
- MergablePropertyAttribute.cs
- NotImplementedException.cs
- DoubleKeyFrameCollection.cs
- FileLevelControlBuilderAttribute.cs
- OdbcConnectionHandle.cs
- CodeGenerator.cs
- QueryContinueDragEvent.cs
- Gdiplus.cs
- XmlILAnnotation.cs
- DataBoundControl.cs
- StrongName.cs
- Vector3dCollection.cs
- TextServicesManager.cs
- LogStream.cs
- RoutedEventValueSerializer.cs
- XmlAtomicValue.cs
- EncodingStreamWrapper.cs
- InternalDispatchObject.cs
- WindowsFormsHelpers.cs
- NamespaceInfo.cs
- CompositeScriptReference.cs
- XmlSchemaAppInfo.cs
- RootAction.cs
- FragmentQueryProcessor.cs
- InternalResources.cs
- PersonalizationDictionary.cs
- HitTestWithPointDrawingContextWalker.cs
- DataBoundControlAdapter.cs
- ExecutionPropertyManager.cs
- EntityWithKeyStrategy.cs
- ButtonStandardAdapter.cs
- MarshalByValueComponent.cs
- ElementsClipboardData.cs
- SafeFileMapViewHandle.cs
- DefaultValidator.cs
- _TLSstream.cs
- BookmarkScopeInfo.cs
- ApplicationContext.cs
- ProcessInputEventArgs.cs
- ContourSegment.cs
- FixedSOMTextRun.cs
- HtmlInputText.cs
- BasicViewGenerator.cs
- LinqToSqlWrapper.cs
- HttpModuleAction.cs