Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Core.Presentation / System / Activities / Core / Presentation / FlowchartSizeFeature.cs / 1305376 / FlowchartSizeFeature.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Core.Presentation { using System.Activities.Presentation; using System.Activities.Presentation.Model; using System.Collections.Generic; using System.Windows; class FlowchartSizeFeature : ViewStateAttachedPropertyFeature { public const string WidthPropertyName = "Width"; public const string HeightPropertyName = "Height"; public const double DefaultWidth = 600; public const double DefaultHeight = 600; protected override IEnumerableAttachedProperties { get { yield return new AttachedPropertyInfo > { IsBrowsable = false, PropertyName = WidthPropertyName, DefaultValue = DefaultWidth }; yield return new AttachedPropertyInfo > { IsBrowsable = false, PropertyName = HeightPropertyName, DefaultValue = DefaultHeight }; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BindingNavigator.cs
- PersonalizationProvider.cs
- RetrieveVirtualItemEventArgs.cs
- RandomNumberGenerator.cs
- BinaryFormatterWriter.cs
- ITreeGenerator.cs
- MetaColumn.cs
- CharEnumerator.cs
- XmlSortKeyAccumulator.cs
- ConstrainedDataObject.cs
- HtmlTitle.cs
- SafeArrayRankMismatchException.cs
- SymbolEqualComparer.cs
- SystemIcons.cs
- OLEDB_Enum.cs
- ListenerUnsafeNativeMethods.cs
- HttpPostedFileWrapper.cs
- Effect.cs
- ReferentialConstraintRoleElement.cs
- CompressedStack.cs
- ADConnectionHelper.cs
- TreeNodeConverter.cs
- SqlPersistenceProviderFactory.cs
- Walker.cs
- MILUtilities.cs
- ProcessThread.cs
- CopyOnWriteList.cs
- CharacterMetrics.cs
- EarlyBoundInfo.cs
- ButtonFieldBase.cs
- WebServiceData.cs
- JoinSymbol.cs
- SQLDoubleStorage.cs
- IsolatedStorageFileStream.cs
- SQLString.cs
- DataGridViewAccessibleObject.cs
- MonikerSyntaxException.cs
- DataGridViewColumnEventArgs.cs
- GcSettings.cs
- XmlElementAttributes.cs
- EntityDataSourceValidationException.cs
- MarshalByRefObject.cs
- ExceptionHelpers.cs
- GlyphCollection.cs
- StringUtil.cs
- InternalSendMessage.cs
- XmlSchemaProviderAttribute.cs
- GridViewDeletedEventArgs.cs
- TextTreeRootTextBlock.cs
- PrefixHandle.cs
- ColorIndependentAnimationStorage.cs
- ContextMenuStripGroup.cs
- XmlSchemaRedefine.cs
- CodeEntryPointMethod.cs
- EditorZoneDesigner.cs
- ViewStateModeByIdAttribute.cs
- Operand.cs
- VoiceInfo.cs
- AdapterUtil.cs
- SimpleWebHandlerParser.cs
- AutoResizedEvent.cs
- ProtocolsSection.cs
- Win32Exception.cs
- CopyAction.cs
- IdentitySection.cs
- StringConverter.cs
- BuilderInfo.cs
- NamespaceInfo.cs
- IteratorDescriptor.cs
- SingleKeyFrameCollection.cs
- DataGridItem.cs
- OracleConnectionStringBuilder.cs
- PerformanceCountersElement.cs
- OledbConnectionStringbuilder.cs
- TreeNodeBindingCollection.cs
- KeyInfo.cs
- MostlySingletonList.cs
- DeclarativeCatalogPartDesigner.cs
- ComplexObject.cs
- Util.cs
- SmtpNtlmAuthenticationModule.cs
- unsafeIndexingFilterStream.cs
- CachingHintValidation.cs
- CriticalFinalizerObject.cs
- ContentIterators.cs
- XmlSchemaObjectTable.cs
- NonceToken.cs
- FileRecordSequenceCompletedAsyncResult.cs
- RequiredAttributeAttribute.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- InputProviderSite.cs
- FloatMinMaxAggregationOperator.cs
- HMACSHA384.cs
- CommandSet.cs
- DetailsViewDesigner.cs
- ExpressionNode.cs
- Hashtable.cs
- PropertyMetadata.cs
- sqlser.cs
- FormatVersion.cs