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
- SafeFileMapViewHandle.cs
- RadioButton.cs
- SiteMapNodeItemEventArgs.cs
- Stack.cs
- EntityDataSourceContextCreatedEventArgs.cs
- SystemResourceKey.cs
- ForEachDesigner.xaml.cs
- DirectoryGroupQuery.cs
- ValidationErrorEventArgs.cs
- MappingException.cs
- ToolTipAutomationPeer.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Span.cs
- WebPart.cs
- ControlEvent.cs
- SessionState.cs
- PublisherIdentityPermission.cs
- Menu.cs
- PictureBox.cs
- PointCollectionConverter.cs
- InvalidWMPVersionException.cs
- QueueNameHelper.cs
- Int64.cs
- EmptyImpersonationContext.cs
- EncoderBestFitFallback.cs
- CodeTypeParameter.cs
- FixedSOMPage.cs
- BufferedGraphics.cs
- XmlLangPropertyAttribute.cs
- DetailsViewRowCollection.cs
- QilChoice.cs
- SetIterators.cs
- PersonalizationState.cs
- Compiler.cs
- Emitter.cs
- ListDictionaryInternal.cs
- SHA256.cs
- DispatcherExceptionEventArgs.cs
- SiteOfOriginPart.cs
- GraphicsPathIterator.cs
- DataGridViewCellMouseEventArgs.cs
- ThicknessAnimationBase.cs
- SpoolingTaskBase.cs
- IssuedTokensHeader.cs
- IndentedWriter.cs
- SafeNativeMethods.cs
- BezierSegment.cs
- ApplicationSecurityManager.cs
- HashRepartitionEnumerator.cs
- ProfilePropertyNameValidator.cs
- IItemProperties.cs
- AssemblyNameProxy.cs
- ResourcePart.cs
- ExtensibleClassFactory.cs
- SafeEventLogWriteHandle.cs
- BamlRecordReader.cs
- ColorBlend.cs
- KeyConstraint.cs
- BeginSelectCardRequest.cs
- FacetValueContainer.cs
- UniformGrid.cs
- ProxyGenerationError.cs
- HierarchicalDataSourceControl.cs
- TdsValueSetter.cs
- ValueChangedEventManager.cs
- SendActivityEventArgs.cs
- DataServiceException.cs
- ChangeProcessor.cs
- mansign.cs
- WindowsAuthenticationEventArgs.cs
- ReliableOutputConnection.cs
- Substitution.cs
- UpdateManifestForBrowserApplication.cs
- SqlNode.cs
- Accessors.cs
- DesignerRegionMouseEventArgs.cs
- COM2PropertyDescriptor.cs
- WSSecurityPolicy.cs
- GraphicsPath.cs
- PathFigure.cs
- HashSet.cs
- ChildDocumentBlock.cs
- UserControl.cs
- SiteMapPath.cs
- TextRangeAdaptor.cs
- TypeValidationEventArgs.cs
- SpeechSeg.cs
- InvalidOleVariantTypeException.cs
- FormsAuthenticationTicket.cs
- SchemaMapping.cs
- ContentElementAutomationPeer.cs
- ReadOnlyState.cs
- ScriptRegistrationManager.cs
- ApplicationServiceManager.cs
- MappingException.cs
- DataGridViewDesigner.cs
- ZipIOLocalFileBlock.cs
- DefinitionBase.cs
- SponsorHelper.cs
- SynchronizingStream.cs