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
- ThreadStaticAttribute.cs
- SwitchLevelAttribute.cs
- BlurBitmapEffect.cs
- UpDownEvent.cs
- Rect.cs
- InvalidCastException.cs
- ConstraintEnumerator.cs
- dtdvalidator.cs
- StreamAsIStream.cs
- ConnectionPoolManager.cs
- XmlSchemaSimpleType.cs
- MbpInfo.cs
- ZipIOExtraFieldElement.cs
- LogSwitch.cs
- UniqueSet.cs
- Mappings.cs
- RectAnimationClockResource.cs
- EntitySetBase.cs
- HelloMessageApril2005.cs
- ActivityExecutionFilter.cs
- LocalizableAttribute.cs
- FileDialog_Vista_Interop.cs
- ButtonChrome.cs
- DesignerOptions.cs
- NoneExcludedImageIndexConverter.cs
- MarkupCompilePass1.cs
- CannotUnloadAppDomainException.cs
- X500Name.cs
- BitmapEffectGroup.cs
- DataGridTextBox.cs
- LogStream.cs
- TypeInitializationException.cs
- ByteStack.cs
- LayoutManager.cs
- IndependentAnimationStorage.cs
- CachedFontFamily.cs
- ChtmlSelectionListAdapter.cs
- QuaternionKeyFrameCollection.cs
- CheckBoxList.cs
- Stroke.cs
- StoreItemCollection.cs
- ThreadPool.cs
- ExtenderProvidedPropertyAttribute.cs
- PropertyGridCommands.cs
- ProxyAttribute.cs
- _AcceptOverlappedAsyncResult.cs
- PKCS1MaskGenerationMethod.cs
- SimplePropertyEntry.cs
- MatrixValueSerializer.cs
- SafeSecurityHandles.cs
- _UncName.cs
- FormsAuthenticationTicket.cs
- WinEventTracker.cs
- MiniMapControl.xaml.cs
- FormViewUpdatedEventArgs.cs
- HttpDebugHandler.cs
- DbXmlEnabledProviderManifest.cs
- AssemblyUtil.cs
- EventsTab.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- DataControlPagerLinkButton.cs
- PageCatalogPart.cs
- DbReferenceCollection.cs
- Assembly.cs
- SqlBulkCopyColumnMappingCollection.cs
- XmlDigitalSignatureProcessor.cs
- MenuItemStyleCollection.cs
- controlskin.cs
- MarkupProperty.cs
- assemblycache.cs
- ServerIdentity.cs
- BitFlagsGenerator.cs
- QuarticEase.cs
- XmlSchemaAnyAttribute.cs
- RawTextInputReport.cs
- SafeArchiveContext.cs
- SecurityTokenInclusionMode.cs
- CommandID.cs
- UserNameSecurityToken.cs
- ExpressionParser.cs
- SoapAttributeAttribute.cs
- LoginViewDesigner.cs
- NullableLongSumAggregationOperator.cs
- CredentialCache.cs
- WpfXamlLoader.cs
- ProxyManager.cs
- InputProcessorProfilesLoader.cs
- GeneratedCodeAttribute.cs
- TransactionChannelFactory.cs
- FunctionNode.cs
- IncrementalCompileAnalyzer.cs
- CursorConverter.cs
- EntitySetDataBindingList.cs
- EntityDataSourceQueryBuilder.cs
- DataControlCommands.cs
- PolicyValidationException.cs
- DataMemberConverter.cs
- Accessible.cs
- BordersPage.cs
- TypeSystemProvider.cs