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
- UserNamePasswordValidationMode.cs
- sqlpipe.cs
- FixedSOMSemanticBox.cs
- DataGridPagerStyle.cs
- FontStyle.cs
- DesignerUtility.cs
- ElementsClipboardData.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- ParallelDesigner.xaml.cs
- WebServiceTypeData.cs
- Baml2006KeyRecord.cs
- DispatchChannelSink.cs
- RenderCapability.cs
- ExternalException.cs
- JsonQueryStringConverter.cs
- HtmlHistory.cs
- VerticalAlignConverter.cs
- RijndaelCryptoServiceProvider.cs
- _SpnDictionary.cs
- XPathNavigatorReader.cs
- WinFormsSpinner.cs
- MarkupWriter.cs
- FeatureSupport.cs
- TypeSemantics.cs
- AmbientProperties.cs
- LinearGradientBrush.cs
- DataSetMappper.cs
- RelationshipSet.cs
- ReservationNotFoundException.cs
- mactripleDES.cs
- PathSegment.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- XmlSchemaSimpleTypeList.cs
- FilteredDataSetHelper.cs
- DragEventArgs.cs
- EmissiveMaterial.cs
- ColorConvertedBitmap.cs
- MailAddress.cs
- UserControlFileEditor.cs
- EnvelopeVersion.cs
- SQLMoney.cs
- ElementUtil.cs
- MultiBindingExpression.cs
- RegexNode.cs
- xmlglyphRunInfo.cs
- EditorResources.cs
- XsltArgumentList.cs
- HealthMonitoringSectionHelper.cs
- ObjectAssociationEndMapping.cs
- PolyLineSegment.cs
- Activator.cs
- ReadOnlyNameValueCollection.cs
- smtpconnection.cs
- NavigatingCancelEventArgs.cs
- PropertyChangeTracker.cs
- xml.cs
- Control.cs
- SqlTrackingWorkflowInstance.cs
- UserNamePasswordValidator.cs
- XMLDiffLoader.cs
- StandardOleMarshalObject.cs
- PatternMatchRules.cs
- CornerRadiusConverter.cs
- CalendarDay.cs
- AddDataControlFieldDialog.cs
- Pointer.cs
- HttpListenerPrefixCollection.cs
- SystemFonts.cs
- TypeDescriptor.cs
- WizardPanel.cs
- DBDataPermission.cs
- StringUtil.cs
- XmlDomTextWriter.cs
- base64Transforms.cs
- ClusterRegistryConfigurationProvider.cs
- TextBoxAutomationPeer.cs
- TreeViewEvent.cs
- ValueTable.cs
- SqlStream.cs
- SafeArrayTypeMismatchException.cs
- InvalidProgramException.cs
- CompositeTypefaceMetrics.cs
- DocumentReference.cs
- WsatServiceAddress.cs
- InstancePersistence.cs
- FactoryMaker.cs
- ParseHttpDate.cs
- PlatformNotSupportedException.cs
- InternalsVisibleToAttribute.cs
- UserControl.cs
- CompressedStack.cs
- DistributedTransactionPermission.cs
- FixedSchema.cs
- XmlDataProvider.cs
- DataControlFieldHeaderCell.cs
- ResourceDescriptionAttribute.cs
- SubpageParagraph.cs
- DetailsViewCommandEventArgs.cs
- SafeProcessHandle.cs