Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorApplyVerb.cs / 1305376 / WebPartEditorApplyVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorApplyVerb : 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.WebPartEditorApplyVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorApplyVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorApplyVerb : 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.WebPartEditorApplyVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorApplyVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_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
- XamlDesignerSerializationManager.cs
- Config.cs
- ReflectionTypeLoadException.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- ConfigUtil.cs
- DomainConstraint.cs
- OperationInfo.cs
- Brush.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ResourceCategoryAttribute.cs
- RemotingHelper.cs
- ChangePasswordDesigner.cs
- TreeIterators.cs
- ValuePattern.cs
- Module.cs
- SetIterators.cs
- SetState.cs
- XmlSchemaParticle.cs
- DataGridViewImageColumn.cs
- GridViewEditEventArgs.cs
- FixedHyperLink.cs
- PhysicalFontFamily.cs
- Button.cs
- Shape.cs
- EventLogEntry.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SeverityFilter.cs
- TextTreeTextBlock.cs
- Function.cs
- MailBnfHelper.cs
- SqlClientWrapperSmiStream.cs
- MultiDataTrigger.cs
- XPathExpr.cs
- CultureTableRecord.cs
- TcpServerChannel.cs
- FlagsAttribute.cs
- QuerySubExprEliminator.cs
- Bits.cs
- Point4D.cs
- ConfigurationElementProperty.cs
- IPPacketInformation.cs
- KeyManager.cs
- ConversionContext.cs
- EntityCommandDefinition.cs
- Policy.cs
- TextStore.cs
- SelectionProviderWrapper.cs
- DomainUpDown.cs
- GenericRootAutomationPeer.cs
- ProtocolsConfiguration.cs
- ExceptionCollection.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- XmlSubtreeReader.cs
- GetChildSubtree.cs
- SessionPageStateSection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- TileBrush.cs
- TextEditorSpelling.cs
- TableLayoutSettings.cs
- MatrixKeyFrameCollection.cs
- OAVariantLib.cs
- RuntimeConfig.cs
- DbParameterHelper.cs
- SemanticTag.cs
- StructuralComparisons.cs
- SecurityManager.cs
- SoapElementAttribute.cs
- JsonMessageEncoderFactory.cs
- DesignTimeParseData.cs
- WpfPayload.cs
- SqlDataSourceEnumerator.cs
- FrameworkReadOnlyPropertyMetadata.cs
- _LocalDataStore.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- SkipQueryOptionExpression.cs
- NameValueCollection.cs
- ExpressionConverter.cs
- CornerRadiusConverter.cs
- _SafeNetHandles.cs
- ItemCheckedEvent.cs
- SortQuery.cs
- DataGridViewRowsAddedEventArgs.cs
- ServerValidateEventArgs.cs
- MetadataArtifactLoaderResource.cs
- DynamicRendererThreadManager.cs
- SystemInfo.cs
- ToolStripDropTargetManager.cs
- OleTxTransaction.cs
- Command.cs
- StrokeSerializer.cs
- IISUnsafeMethods.cs
- DropSourceBehavior.cs
- SoapMessage.cs
- ReliabilityContractAttribute.cs
- Soap.cs
- InlineCategoriesDocument.cs
- EventDescriptorCollection.cs
- ErrorView.xaml.cs
- XmlTextWriter.cs