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
- ContainerFilterService.cs
- HebrewCalendar.cs
- DelegateSerializationHolder.cs
- OutputCacheModule.cs
- NativeMethods.cs
- MobileFormsAuthentication.cs
- SqlDataReader.cs
- RtfToken.cs
- UnsafeNativeMethods.cs
- PerformanceCounterPermission.cs
- BinaryObjectReader.cs
- DecoderBestFitFallback.cs
- ControlAdapter.cs
- TableLayoutStyle.cs
- Point4D.cs
- CodeDelegateCreateExpression.cs
- ResolveMatchesMessage11.cs
- ToolStripGripRenderEventArgs.cs
- SystemFonts.cs
- TypedDataSetSchemaImporterExtension.cs
- ContactManager.cs
- NodeInfo.cs
- UrlMappingsModule.cs
- PassportAuthenticationModule.cs
- XMLUtil.cs
- RectAnimation.cs
- ExtensionWindowHeader.cs
- SharedUtils.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- SendParametersContent.cs
- DesignerListAdapter.cs
- ResetableIterator.cs
- TextEndOfParagraph.cs
- DataServiceBehavior.cs
- PixelFormat.cs
- EdmToObjectNamespaceMap.cs
- FontUnit.cs
- ActivityDesigner.cs
- BigInt.cs
- BasePattern.cs
- UIElementHelper.cs
- ResourceReferenceKeyNotFoundException.cs
- MonthCalendarDesigner.cs
- DeferredSelectedIndexReference.cs
- MetadataCollection.cs
- SchemaDeclBase.cs
- UnmanagedMemoryStream.cs
- ResourceContainer.cs
- FullTextState.cs
- CommandValueSerializer.cs
- ClearTypeHintValidation.cs
- HttpCachePolicyBase.cs
- DataGridViewLayoutData.cs
- DashStyles.cs
- SupportsEventValidationAttribute.cs
- TranslateTransform.cs
- RootCodeDomSerializer.cs
- GridViewItemAutomationPeer.cs
- XmlDataProvider.cs
- BitHelper.cs
- Graphics.cs
- SourceFileBuildProvider.cs
- DeferredReference.cs
- StylusPointProperties.cs
- ValueOfAction.cs
- Adorner.cs
- SqlGenerator.cs
- SevenBitStream.cs
- ProgressBar.cs
- DocumentGridPage.cs
- DeclarationUpdate.cs
- Avt.cs
- FeatureSupport.cs
- TabControlAutomationPeer.cs
- MDIClient.cs
- HeaderCollection.cs
- TextTreeInsertUndoUnit.cs
- Camera.cs
- UserMapPath.cs
- SqlBulkCopyColumnMapping.cs
- ECDiffieHellmanPublicKey.cs
- Exception.cs
- ItemList.cs
- GlyphCache.cs
- MaxMessageSizeStream.cs
- AssemblyInfo.cs
- TransformCollection.cs
- CalendarDayButton.cs
- GeometryGroup.cs
- ObfuscationAttribute.cs
- XsltArgumentList.cs
- TypeUsage.cs
- TableLayoutColumnStyleCollection.cs
- CodeSubDirectoriesCollection.cs
- XmlImplementation.cs
- CharacterBufferReference.cs
- TraceSource.cs
- TextureBrush.cs
- OdbcConnectionString.cs
- SafeArrayRankMismatchException.cs