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
- DataGridViewRowCancelEventArgs.cs
- MessageDispatch.cs
- WebUtil.cs
- DesignerActionGlyph.cs
- ResXFileRef.cs
- SelectingProviderEventArgs.cs
- DataBoundControlActionList.cs
- UpdateDelegates.Generated.cs
- DateTimeFormat.cs
- MessageSmuggler.cs
- TypeGeneratedEventArgs.cs
- DbConnectionPool.cs
- ParserHooks.cs
- LinqDataSourceView.cs
- InternalDuplexBindingElement.cs
- GiveFeedbackEventArgs.cs
- IDataContractSurrogate.cs
- IMembershipProvider.cs
- FacetChecker.cs
- DnsPermission.cs
- ArrayItemValue.cs
- MachinePropertyVariants.cs
- AvtEvent.cs
- FirstMatchCodeGroup.cs
- SystemIcmpV6Statistics.cs
- Schedule.cs
- Int32Collection.cs
- Span.cs
- ForEach.cs
- TextEditorTables.cs
- XmlSerializer.cs
- PersistChildrenAttribute.cs
- EventLogTraceListener.cs
- BitmapCacheBrush.cs
- SrgsDocument.cs
- SqlClientPermission.cs
- WebPartsSection.cs
- AssemblyInfo.cs
- ErrorView.xaml.cs
- SQLGuid.cs
- EdmPropertyAttribute.cs
- CodeAttachEventStatement.cs
- ToolboxItemLoader.cs
- Rotation3DAnimationBase.cs
- OdbcDataReader.cs
- ConfigPathUtility.cs
- EntityDataSourceDesigner.cs
- CmsInterop.cs
- PointAnimationUsingKeyFrames.cs
- AmbientLight.cs
- GeneralTransform3DCollection.cs
- httpapplicationstate.cs
- DataRelation.cs
- ValueUtilsSmi.cs
- PointCollectionConverter.cs
- CompiledRegexRunnerFactory.cs
- PerformanceCounterPermissionEntry.cs
- TabOrder.cs
- DrawToolTipEventArgs.cs
- SecurityHelper.cs
- FormsAuthenticationConfiguration.cs
- PermissionAttributes.cs
- FormViewDeleteEventArgs.cs
- RuntimeConfig.cs
- JavascriptCallbackMessageInspector.cs
- BitmapCacheBrush.cs
- EventHandlersStore.cs
- DynamicDataRoute.cs
- CacheEntry.cs
- FrameworkElementFactoryMarkupObject.cs
- X509Utils.cs
- OutputCacheSettingsSection.cs
- CompilerCollection.cs
- Base64Encoding.cs
- EventMappingSettingsCollection.cs
- KeyConstraint.cs
- SafePipeHandle.cs
- ItemContainerPattern.cs
- OleDbParameterCollection.cs
- WebServiceParameterData.cs
- PropertyNames.cs
- FixedSOMContainer.cs
- Repeater.cs
- DocumentViewerBaseAutomationPeer.cs
- StylusPointPropertyUnit.cs
- DataContractSerializerSection.cs
- StringCollectionEditor.cs
- ImageMetadata.cs
- BatchServiceHost.cs
- ResourcePermissionBase.cs
- VsPropertyGrid.cs
- SaveFileDialog.cs
- DataGridViewRowPostPaintEventArgs.cs
- LoginName.cs
- XMLUtil.cs
- Unit.cs
- ConfigurationFileMap.cs
- ShaderEffect.cs
- ApplicationFileParser.cs
- Vector3dCollection.cs