Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / TextElementEditingBehaviorAttribute.cs / 1 / TextElementEditingBehaviorAttribute.cs
using System; namespace System.Windows.Documents { ////// An attribute that controls editing behavior of elements. /// [AttributeUsage(AttributeTargets.Class)] public sealed class TextElementEditingBehaviorAttribute : System.Attribute { ////// Constructor /// public TextElementEditingBehaviorAttribute() { } ////// If true, the element can be merged with other elements of the same type when /// properties are the same. This also affects other aspects of editing around the /// element. If true and the element is at the end of the document, there is no /// insertion position outside the element; if false under these conditions, there is /// no insertion position inside instead. An empty mergeable element at the start of /// the document will be preserved; an empty non-mergeable element will be discarded. /// A mergeable element can be split by inserting a paragraph break inside; a /// non-mergeable cannot, and the editor will not allow a break to be inserted. /// public bool IsMergeable { get { return _isMergeable; } set { _isMergeable = value; } } ////// If true, the element has only typographic meaning-- it exists solely to format /// content. If false, the element has contextual meaning or UI behavior that would /// make no sense to carry over into a new context that doesn't know how to handle /// that behavior. /// /// When an element is partially selected and copied, formatting will be lost on the /// new copy if IsTypographicOnly is false (e.g. Hyperlink). If true, formatting will /// persist. /// public bool IsTypographicOnly { get { return _isTypographicOnly; } set { _isTypographicOnly = value; } } private bool _isMergeable; private bool _isTypographicOnly; } } // 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
- ProviderBase.cs
- ToolStripContainer.cs
- TextBoxAutoCompleteSourceConverter.cs
- DictionaryGlobals.cs
- SymDocumentType.cs
- Int32CollectionValueSerializer.cs
- AmbientLight.cs
- __Filters.cs
- IxmlLineInfo.cs
- SystemColorTracker.cs
- EventHandlersStore.cs
- PersonalizableAttribute.cs
- CalendarTable.cs
- RtType.cs
- XamlInt32CollectionSerializer.cs
- TableItemPattern.cs
- SignatureGenerator.cs
- DeviceFilterDictionary.cs
- PropertyPathWorker.cs
- ISessionStateStore.cs
- ActiveDocumentEvent.cs
- WorkflowExecutor.cs
- BindingFormattingDialog.cs
- CapabilitiesPattern.cs
- LayoutEditorPart.cs
- OdbcConnectionOpen.cs
- RedistVersionInfo.cs
- Stylesheet.cs
- BufferedOutputStream.cs
- ToolStripLocationCancelEventArgs.cs
- NamedPermissionSet.cs
- HttpContextWrapper.cs
- Symbol.cs
- HybridDictionary.cs
- BaseProcessor.cs
- GridErrorDlg.cs
- BoundField.cs
- SafeEventLogReadHandle.cs
- ResXFileRef.cs
- InOutArgumentConverter.cs
- OneToOneMappingSerializer.cs
- UpdateProgress.cs
- TaskSchedulerException.cs
- PersonalizationState.cs
- BitmapEffect.cs
- TagPrefixCollection.cs
- ZipIOModeEnforcingStream.cs
- BuildDependencySet.cs
- MemberRelationshipService.cs
- ProcessInputEventArgs.cs
- AsymmetricCryptoHandle.cs
- SafeNativeMethods.cs
- BaseTemplateCodeDomTreeGenerator.cs
- pingexception.cs
- EntityViewContainer.cs
- ParallelTimeline.cs
- SessionPageStateSection.cs
- CatalogPartChrome.cs
- XmlRawWriterWrapper.cs
- FollowerQueueCreator.cs
- DBSqlParserTableCollection.cs
- GenericEnumerator.cs
- TranslateTransform.cs
- ToolStripRenderer.cs
- SessionEndedEventArgs.cs
- FieldDescriptor.cs
- TextAutomationPeer.cs
- CapabilitiesRule.cs
- NullableIntAverageAggregationOperator.cs
- IntegerFacetDescriptionElement.cs
- ElementFactory.cs
- Attribute.cs
- CacheEntry.cs
- FormsAuthenticationTicket.cs
- OptimizerPatterns.cs
- ArgIterator.cs
- InputDevice.cs
- MultiPageTextView.cs
- RepeaterItemEventArgs.cs
- storepermission.cs
- UniformGrid.cs
- NamespaceExpr.cs
- DataSourceHelper.cs
- DataControlCommands.cs
- DomainUpDown.cs
- PeerContact.cs
- DebugView.cs
- CollectionViewGroup.cs
- XmlILTrace.cs
- ExtractedStateEntry.cs
- HttpCookie.cs
- GridView.cs
- ChildrenQuery.cs
- RunWorkerCompletedEventArgs.cs
- LayoutEditorPart.cs
- DecimalStorage.cs
- DataSetFieldSchema.cs
- Matrix.cs
- GridViewRowCollection.cs
- _ListenerRequestStream.cs