Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebBrowsableAttribute.cs / 1 / WebBrowsableAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Property)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class WebBrowsableAttribute : Attribute { ////// public static readonly WebBrowsableAttribute Yes = new WebBrowsableAttribute(true); ////// public static readonly WebBrowsableAttribute No = new WebBrowsableAttribute(false); ////// public static readonly WebBrowsableAttribute Default = No; private bool _browsable; ////// public WebBrowsableAttribute() : this(true) { } ////// public WebBrowsableAttribute(bool browsable) { _browsable = browsable; } ////// public bool Browsable { get { return _browsable; } } ///public override bool Equals(object obj) { if (obj == this) { return true; } WebBrowsableAttribute other = obj as WebBrowsableAttribute; return (other != null) && (other.Browsable == Browsable); } /// public override int GetHashCode() { return _browsable.GetHashCode(); } /// public override bool IsDefaultAttribute() { return this.Equals(Default); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlNamespaceMappingCollection.cs
- ScaleTransform3D.cs
- HttpDebugHandler.cs
- _FtpDataStream.cs
- WebPartAddingEventArgs.cs
- ToolStripPanelRow.cs
- ConfigurationValue.cs
- TypeDefinition.cs
- BrowserInteropHelper.cs
- OleDbReferenceCollection.cs
- SafeThreadHandle.cs
- StyleSelector.cs
- ColumnBinding.cs
- WizardSideBarListControlItemEventArgs.cs
- VariantWrapper.cs
- SiteMapNodeCollection.cs
- RelatedImageListAttribute.cs
- LinkButton.cs
- MaskedTextBox.cs
- TypeUnloadedException.cs
- BinaryMethodMessage.cs
- shaperfactoryquerycacheentry.cs
- TimestampInformation.cs
- SqlInfoMessageEvent.cs
- RayMeshGeometry3DHitTestResult.cs
- ObjectPersistData.cs
- sqlser.cs
- WebHttpSecurityModeHelper.cs
- RuntimeConfigurationRecord.cs
- XmlSchemaInferenceException.cs
- FileDocument.cs
- ParseElement.cs
- XmlComplianceUtil.cs
- ObjectConverter.cs
- EncodingDataItem.cs
- NotFiniteNumberException.cs
- IgnoreSectionHandler.cs
- BamlResourceContent.cs
- DeflateStream.cs
- InvokePattern.cs
- autovalidator.cs
- LazyTextWriterCreator.cs
- TraceHwndHost.cs
- WizardPanel.cs
- Trace.cs
- DBSqlParser.cs
- XmlCharType.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ToolStripPanel.cs
- SrgsElementFactoryCompiler.cs
- InternalCache.cs
- DataSourceConverter.cs
- Freezable.cs
- SecurityContext.cs
- DataServiceClientException.cs
- IdnMapping.cs
- DataColumnChangeEvent.cs
- RuntimeArgumentHandle.cs
- ObjectSet.cs
- InlineUIContainer.cs
- UIElement3DAutomationPeer.cs
- BCLDebug.cs
- TextTreePropertyUndoUnit.cs
- GcSettings.cs
- OperationAbortedException.cs
- ISAPIWorkerRequest.cs
- BlobPersonalizationState.cs
- versioninfo.cs
- DataGridViewCellFormattingEventArgs.cs
- MediaTimeline.cs
- XPathNode.cs
- SqlClientPermission.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DataFormat.cs
- WebPart.cs
- ImageSource.cs
- DBSqlParserTableCollection.cs
- DocumentViewerHelper.cs
- FixedStringLookup.cs
- Size.cs
- ToolTip.cs
- StateRuntime.cs
- PlatformCulture.cs
- PageHandlerFactory.cs
- ReturnEventArgs.cs
- SHA384CryptoServiceProvider.cs
- LayoutTable.cs
- BlobPersonalizationState.cs
- Helpers.cs
- WebSysDescriptionAttribute.cs
- XmlSchemaImport.cs
- BitmapEffectDrawingContextState.cs
- AuthenticationModuleElementCollection.cs
- SingleResultAttribute.cs
- InternalCompensate.cs
- LinkUtilities.cs
- RuntimeEnvironment.cs
- SoapSchemaExporter.cs
- HttpRuntime.cs
- WorkflowExecutor.cs