Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / FormViewActionList.cs / 1 / FormViewActionList.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Diagnostics; using System.Web.UI.Design; using System.Web.UI.Design.Util; using System.Web.UI.WebControls; using System.Windows.Forms; ///internal class FormViewActionList : DesignerActionList { private FormViewDesigner _formViewDesigner; private bool _allowPaging; /// public FormViewActionList(FormViewDesigner formViewDesigner) : base(formViewDesigner.Component) { _formViewDesigner = formViewDesigner; } /// /// Lets the FormView designer specify whether the Page action should be visible/enabled /// internal bool AllowPaging { get { return _allowPaging; } set { _allowPaging = value; } } public override bool AutoShow { get { return true; } set { } } ////// Property used by chrome to display the page checkbox. Called through reflection. /// public bool EnablePaging { get { return _formViewDesigner.EnablePaging; } set { _formViewDesigner.EnablePaging = value; } } ///public override DesignerActionItemCollection GetSortedActionItems() { DesignerActionItemCollection items = new DesignerActionItemCollection(); if (AllowPaging) { items.Add(new DesignerActionPropertyItem("EnablePaging", SR.GetString(SR.FormView_EnablePaging), "Behavior", SR.GetString(SR.FormView_EnablePagingDesc))); } return items; } } } // 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
- CachedResourceDictionaryExtension.cs
- DeviceContext2.cs
- Enum.cs
- WebPartCloseVerb.cs
- SizeConverter.cs
- CatalogPart.cs
- PolygonHotSpot.cs
- GetPageNumberCompletedEventArgs.cs
- OverflowException.cs
- processwaithandle.cs
- SqlInternalConnectionSmi.cs
- prompt.cs
- MouseCaptureWithinProperty.cs
- FactoryGenerator.cs
- ProgressChangedEventArgs.cs
- HwndStylusInputProvider.cs
- AnonymousIdentificationSection.cs
- WindowsTreeView.cs
- ServiceBehaviorElement.cs
- PropertyInfoSet.cs
- AssemblyNameUtility.cs
- SafeWaitHandle.cs
- FactoryMaker.cs
- TimeStampChecker.cs
- AuthenticatingEventArgs.cs
- DeferredElementTreeState.cs
- RsaSecurityTokenAuthenticator.cs
- WebServiceParameterData.cs
- ZipPackage.cs
- CommunicationException.cs
- RunInstallerAttribute.cs
- OdbcStatementHandle.cs
- DataSourceGeneratorException.cs
- CqlErrorHelper.cs
- QilScopedVisitor.cs
- AnimationException.cs
- ZoneIdentityPermission.cs
- WorkflowOwnershipException.cs
- ConnectionStringsSection.cs
- TextEditorThreadLocalStore.cs
- BoolLiteral.cs
- NetStream.cs
- HttpConfigurationSystem.cs
- CrossAppDomainChannel.cs
- GetFileNameResult.cs
- BufferedStream.cs
- XmlnsDictionary.cs
- DocumentViewerConstants.cs
- PermissionSetTriple.cs
- UnionCodeGroup.cs
- DataReceivedEventArgs.cs
- TraversalRequest.cs
- RuntimeIdentifierPropertyAttribute.cs
- MruCache.cs
- WebPartRestoreVerb.cs
- HScrollBar.cs
- XPathNode.cs
- CodeDelegateCreateExpression.cs
- ActiveXSite.cs
- MatrixAnimationUsingPath.cs
- EmbeddedMailObjectsCollection.cs
- InternalConfigRoot.cs
- CodeAssignStatement.cs
- HttpConfigurationContext.cs
- CodeConstructor.cs
- ValidationHelper.cs
- DependencyPropertyAttribute.cs
- SqlBooleanMismatchVisitor.cs
- NotificationContext.cs
- CharAnimationBase.cs
- CultureSpecificStringDictionary.cs
- XdrBuilder.cs
- EntityReference.cs
- EventRouteFactory.cs
- SQLRoleProvider.cs
- XmlSchemaAttributeGroupRef.cs
- LineSegment.cs
- AxImporter.cs
- XmlCharacterData.cs
- MemoryRecordBuffer.cs
- Encoding.cs
- CompositeDataBoundControl.cs
- GeneralTransformGroup.cs
- FactoryId.cs
- SynchronizationHandlesCodeDomSerializer.cs
- ContentPresenter.cs
- ParamArrayAttribute.cs
- ImmComposition.cs
- ColorMap.cs
- DetailsViewUpdatedEventArgs.cs
- ProvidePropertyAttribute.cs
- Calendar.cs
- SiteMapDataSourceView.cs
- AdornerLayer.cs
- ValidationSummary.cs
- MarkupExtensionParser.cs
- ConfigurationManager.cs
- HwndSubclass.cs
- Vector3DAnimationUsingKeyFrames.cs
- IResourceProvider.cs