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
- ObjectIDGenerator.cs
- XamlPointCollectionSerializer.cs
- UpdateException.cs
- XmlIterators.cs
- ObservableCollection.cs
- CalendarDay.cs
- TextSimpleMarkerProperties.cs
- PrefixHandle.cs
- RequestCacheEntry.cs
- ResourcePermissionBase.cs
- X509Certificate2.cs
- AlgoModule.cs
- DesignerFrame.cs
- TargetControlTypeAttribute.cs
- AuthenticationConfig.cs
- CapabilitiesRule.cs
- StringUtil.cs
- VersionedStream.cs
- SplitContainer.cs
- PersonalizationStateInfo.cs
- TextWriterTraceListener.cs
- WorkflowItemPresenter.cs
- AlternateViewCollection.cs
- CollectionBase.cs
- ComponentConverter.cs
- Logging.cs
- BaseDataBoundControl.cs
- RequestCacheEntry.cs
- Padding.cs
- SqlCacheDependency.cs
- NetCodeGroup.cs
- SmtpCommands.cs
- RefreshPropertiesAttribute.cs
- MessageContractImporter.cs
- CodeTypeParameterCollection.cs
- ContextCorrelationInitializer.cs
- MailMessage.cs
- NullReferenceException.cs
- StylusPlugInCollection.cs
- HasCopySemanticsAttribute.cs
- ListViewSelectEventArgs.cs
- FilteredSchemaElementLookUpTable.cs
- Table.cs
- ReadWriteSpinLock.cs
- DataBinding.cs
- WebConfigManager.cs
- TextShapeableCharacters.cs
- Translator.cs
- LinkedDataMemberFieldEditor.cs
- IPAddressCollection.cs
- BindingObserver.cs
- KeyGestureValueSerializer.cs
- AssemblyHash.cs
- TextDecorationUnitValidation.cs
- WebPartRestoreVerb.cs
- EntityCommandDefinition.cs
- ExpressionNode.cs
- DataSourceProvider.cs
- FigureHelper.cs
- DataStorage.cs
- SecurityCriticalDataForSet.cs
- AjaxFrameworkAssemblyAttribute.cs
- EntityDataSourceView.cs
- ObjectSpanRewriter.cs
- CellConstant.cs
- MouseGesture.cs
- NetCodeGroup.cs
- PropertyItem.cs
- CodeMethodInvokeExpression.cs
- XmlnsDefinitionAttribute.cs
- Int32AnimationBase.cs
- FolderBrowserDialog.cs
- GuidelineCollection.cs
- SecurityUtils.cs
- StylusCaptureWithinProperty.cs
- WeakEventManager.cs
- InputReport.cs
- AssociatedControlConverter.cs
- AnimationLayer.cs
- PingOptions.cs
- ThousandthOfEmRealDoubles.cs
- CancellationHandlerDesigner.cs
- DataGridViewToolTip.cs
- CloudCollection.cs
- XsdDataContractImporter.cs
- FlowDocumentView.cs
- CompilationLock.cs
- Vector3DIndependentAnimationStorage.cs
- WebConfigurationManager.cs
- ClonableStack.cs
- LabelEditEvent.cs
- FillErrorEventArgs.cs
- ClientSession.cs
- Single.cs
- ToggleProviderWrapper.cs
- FormViewCommandEventArgs.cs
- AsnEncodedData.cs
- Bidi.cs
- CalendarDay.cs
- InternalTypeHelper.cs