Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorOkVerb.cs / 1305376 / WebPartEditorOkVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorOKVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Text) : (string)o; } set { ViewState["Text"] = 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
- NamedPipeConnectionPool.cs
- DataKey.cs
- RegistrationContext.cs
- VisemeEventArgs.cs
- FixedSOMTableCell.cs
- ProcessThread.cs
- DataSourceExpressionCollection.cs
- _emptywebproxy.cs
- Label.cs
- ElementHost.cs
- XmlDataImplementation.cs
- ContentValidator.cs
- MeasureItemEvent.cs
- AccessViolationException.cs
- AtomMaterializer.cs
- TemplateParser.cs
- Ref.cs
- BamlResourceSerializer.cs
- PropertyGridEditorPart.cs
- _ConnectOverlappedAsyncResult.cs
- X509Certificate2.cs
- HighlightComponent.cs
- ClientBuildManager.cs
- SqlFormatter.cs
- SafeViewOfFileHandle.cs
- EdmFunction.cs
- FormsAuthenticationTicket.cs
- DataGridViewTextBoxColumn.cs
- StructuralComparisons.cs
- Number.cs
- DataConnectionHelper.cs
- DataObjectEventArgs.cs
- BufferedGraphicsContext.cs
- SystemThemeKey.cs
- SchemaImporter.cs
- BindingContext.cs
- DesignerActionItemCollection.cs
- SqlDataSourceCommandEventArgs.cs
- RTLAwareMessageBox.cs
- LinqExpressionNormalizer.cs
- SqlUserDefinedAggregateAttribute.cs
- Verify.cs
- BoolLiteral.cs
- LockCookie.cs
- SystemIPInterfaceProperties.cs
- SqlRewriteScalarSubqueries.cs
- Dictionary.cs
- ExclusiveCanonicalizationTransform.cs
- SystemSounds.cs
- WindowsListViewGroup.cs
- XmlDomTextWriter.cs
- BigIntegerStorage.cs
- IndentedWriter.cs
- MissingMemberException.cs
- GB18030Encoding.cs
- MetricEntry.cs
- ReferentialConstraint.cs
- BlockUIContainer.cs
- MenuItemAutomationPeer.cs
- XmlNamespaceDeclarationsAttribute.cs
- SqlDataSourceCommandParser.cs
- ZipIOCentralDirectoryFileHeader.cs
- BStrWrapper.cs
- ApplicationServicesHostFactory.cs
- HtmlFormParameterWriter.cs
- ExtensibleClassFactory.cs
- FixedDocumentSequencePaginator.cs
- PartialList.cs
- SessionState.cs
- SQLString.cs
- OleDbWrapper.cs
- Variable.cs
- SortKey.cs
- InputBinding.cs
- ExpressionUtilities.cs
- FileUtil.cs
- Pts.cs
- EventLogConfiguration.cs
- PartialCachingAttribute.cs
- GradientSpreadMethodValidation.cs
- SlotInfo.cs
- HttpListener.cs
- ActivityLocationReferenceEnvironment.cs
- TextSelection.cs
- CounterSample.cs
- FixedSOMTableCell.cs
- SqlConnectionString.cs
- PublishLicense.cs
- SemanticValue.cs
- SmiMetaData.cs
- SafeNativeMethodsCLR.cs
- HtmlInputRadioButton.cs
- DbCommandTree.cs
- FormViewDeletedEventArgs.cs
- ManagementException.cs
- LiteralControl.cs
- EntityDataSourceValidationException.cs
- DateTime.cs
- CodeAssignStatement.cs
- SafeLibraryHandle.cs