Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Configuration / XhtmlConformanceSection.cs / 1 / XhtmlConformanceSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Configuration; using System.Security.Permissions; /* */ [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class XhtmlConformanceSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; internal const XhtmlConformanceMode DefaultMode = XhtmlConformanceMode.Transitional; private static readonly ConfigurationProperty _propMode = new ConfigurationProperty("mode", typeof(XhtmlConformanceMode), DefaultMode, ConfigurationPropertyOptions.None); static XhtmlConformanceSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propMode); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("mode", DefaultValue=DefaultMode)] public XhtmlConformanceMode Mode { get { return (XhtmlConformanceMode)base[_propMode]; } set { base[_propMode] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Configuration; using System.Security.Permissions; /* */ [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class XhtmlConformanceSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; internal const XhtmlConformanceMode DefaultMode = XhtmlConformanceMode.Transitional; private static readonly ConfigurationProperty _propMode = new ConfigurationProperty("mode", typeof(XhtmlConformanceMode), DefaultMode, ConfigurationPropertyOptions.None); static XhtmlConformanceSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propMode); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("mode", DefaultValue=DefaultMode)] public XhtmlConformanceMode Mode { get { return (XhtmlConformanceMode)base[_propMode]; } set { base[_propMode] = value; } } } } // 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
- PrivateFontCollection.cs
- FastEncoder.cs
- ColumnProvider.cs
- PartialToken.cs
- ObservableCollectionDefaultValueFactory.cs
- ExpandCollapseProviderWrapper.cs
- InstalledFontCollection.cs
- TableLayoutSettings.cs
- DecoderBestFitFallback.cs
- CommonBehaviorsSection.cs
- SimpleTextLine.cs
- TreeView.cs
- listitem.cs
- SequenceQuery.cs
- StringFreezingAttribute.cs
- TraceListeners.cs
- TakeQueryOptionExpression.cs
- OleDbCommand.cs
- ArglessEventHandlerProxy.cs
- Storyboard.cs
- BitmapData.cs
- ADConnectionHelper.cs
- AnnotationElement.cs
- TemplateField.cs
- Variable.cs
- PermissionToken.cs
- MappingModelBuildProvider.cs
- PromptStyle.cs
- PersonalizationProvider.cs
- RtfNavigator.cs
- SharedUtils.cs
- TransformedBitmap.cs
- PickDesigner.xaml.cs
- FontNameEditor.cs
- EntityCommandExecutionException.cs
- NumberSubstitution.cs
- LogFlushAsyncResult.cs
- PersonalizationEntry.cs
- CodeDirectionExpression.cs
- FontFaceLayoutInfo.cs
- DiagnosticStrings.cs
- SelectionChangedEventArgs.cs
- MembershipSection.cs
- TemplateXamlParser.cs
- XmlSchemaExternal.cs
- HttpListenerResponse.cs
- FileIOPermission.cs
- ReadOnlyMetadataCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- IconConverter.cs
- MimeTextImporter.cs
- Binding.cs
- BulletedList.cs
- DateTimeSerializationSection.cs
- ErrorWrapper.cs
- TextBox.cs
- CaseInsensitiveComparer.cs
- DocumentOrderComparer.cs
- TagNameToTypeMapper.cs
- InfiniteIntConverter.cs
- StrokeCollection2.cs
- PagedDataSource.cs
- PropertyAccessVisitor.cs
- MatrixTransform.cs
- SecurityToken.cs
- MediaCommands.cs
- QueryHandler.cs
- QueryExpr.cs
- DataSourceCacheDurationConverter.cs
- Int32CollectionConverter.cs
- SerializableAttribute.cs
- PeerOutputChannel.cs
- HostProtectionPermission.cs
- LOSFormatter.cs
- ExpressionVisitorHelpers.cs
- TrustLevelCollection.cs
- MultipleViewPatternIdentifiers.cs
- DrawingVisualDrawingContext.cs
- ArgumentDirectionHelper.cs
- CompiledXpathExpr.cs
- BamlRecords.cs
- EmissiveMaterial.cs
- ListenerSessionConnectionReader.cs
- ContainerVisual.cs
- HtmlInputReset.cs
- AppSettingsSection.cs
- StrongNameHelpers.cs
- SafeReversePInvokeHandle.cs
- Validator.cs
- FontStretches.cs
- SQLDecimal.cs
- ActivationServices.cs
- PropertyOverridesDialog.cs
- ListView.cs
- StructuredTypeEmitter.cs
- WebRequestModuleElementCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- HttpPostedFileBase.cs
- ZoneLinkButton.cs
- TemplateEditingVerb.cs