Code:
/ FX-1434 / FX-1434 / 1.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
- querybuilder.cs
- DataControlImageButton.cs
- MexBindingBindingCollectionElement.cs
- XPathNavigatorKeyComparer.cs
- TextCharacters.cs
- GenericRootAutomationPeer.cs
- CodeArrayCreateExpression.cs
- ZipPackagePart.cs
- ResourceManagerWrapper.cs
- DataGridViewRowHeaderCell.cs
- xdrvalidator.cs
- _ListenerAsyncResult.cs
- XmlAttributeHolder.cs
- CodeGenerator.cs
- ConnectionProviderAttribute.cs
- XmlDigitalSignatureProcessor.cs
- SafeViewOfFileHandle.cs
- SystemException.cs
- ThicknessAnimation.cs
- ObjectList.cs
- COM2ExtendedTypeConverter.cs
- EventWaitHandle.cs
- QueryStack.cs
- VectorKeyFrameCollection.cs
- SharedStatics.cs
- MessageSecurityVersionConverter.cs
- UnrecognizedPolicyAssertionElement.cs
- XmlReaderSettings.cs
- ScriptingWebServicesSectionGroup.cs
- JsonFormatWriterGenerator.cs
- ZipIOLocalFileBlock.cs
- ResXDataNode.cs
- PersonalizationStateInfoCollection.cs
- TextEditorSelection.cs
- CapabilitiesAssignment.cs
- ApplicationDirectory.cs
- WebScriptEndpointElement.cs
- XmlSchemaComplexContent.cs
- HostExecutionContextManager.cs
- Point3DCollection.cs
- SafeHGlobalHandleCritical.cs
- CachingParameterInspector.cs
- SupportsEventValidationAttribute.cs
- SplineKeyFrames.cs
- relpropertyhelper.cs
- WebPartDisplayMode.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SQlBooleanStorage.cs
- GrammarBuilder.cs
- Ticks.cs
- PolicyException.cs
- StoreItemCollection.cs
- DataServiceKeyAttribute.cs
- XPathNodePointer.cs
- XLinq.cs
- _SSPIWrapper.cs
- TabPanel.cs
- ObjectSet.cs
- SqlCacheDependencySection.cs
- SessionSwitchEventArgs.cs
- AttributeAction.cs
- SmtpAuthenticationManager.cs
- FileUtil.cs
- ConfigurationStrings.cs
- SingleTagSectionHandler.cs
- SecurityContextTokenValidationException.cs
- SystemMulticastIPAddressInformation.cs
- OutputCacheProfile.cs
- CapabilitiesSection.cs
- DbConnectionOptions.cs
- CodeRemoveEventStatement.cs
- QueryReaderSettings.cs
- TopClause.cs
- UTF32Encoding.cs
- WebPartZone.cs
- StylusButtonCollection.cs
- HttpListenerRequestTraceRecord.cs
- PropertyIDSet.cs
- HttpResponseBase.cs
- CombinedTcpChannel.cs
- GifBitmapDecoder.cs
- XmlSchemaAnyAttribute.cs
- ListItemsPage.cs
- X500Name.cs
- ComponentResourceKeyConverter.cs
- InputProcessorProfiles.cs
- RayMeshGeometry3DHitTestResult.cs
- SelectionItemPattern.cs
- OrthographicCamera.cs
- XmlToDatasetMap.cs
- CaretElement.cs
- ColorTransformHelper.cs
- Ports.cs
- CalloutQueueItem.cs
- ThreadStaticAttribute.cs
- ClientFormsAuthenticationMembershipProvider.cs
- RadialGradientBrush.cs
- TimeSpanSecondsOrInfiniteConverter.cs