Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / TextElementEditingBehaviorAttribute.cs / 1305600 / 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
- FilteredAttributeCollection.cs
- DataGridViewCellParsingEventArgs.cs
- ErrorFormatter.cs
- ServiceDiscoveryBehavior.cs
- Point3DKeyFrameCollection.cs
- SystemColors.cs
- CodeSnippetCompileUnit.cs
- Util.cs
- ResXBuildProvider.cs
- BamlRecordHelper.cs
- HttpWriter.cs
- MetadataCache.cs
- EngineSite.cs
- RSAPKCS1KeyExchangeFormatter.cs
- IImplicitResourceProvider.cs
- basevalidator.cs
- UIElementCollection.cs
- FileEnumerator.cs
- SQLInt64Storage.cs
- shaperfactoryquerycachekey.cs
- OleCmdHelper.cs
- securitycriticaldataClass.cs
- TransformationRules.cs
- GridViewColumn.cs
- BCryptHashAlgorithm.cs
- TransformerInfoCollection.cs
- AsmxEndpointPickerExtension.cs
- ChildChangedEventArgs.cs
- SynchronizationFilter.cs
- HatchBrush.cs
- BrushMappingModeValidation.cs
- FileReservationCollection.cs
- JavaScriptObjectDeserializer.cs
- Vector3DKeyFrameCollection.cs
- DataControlFieldCollection.cs
- ToolboxDataAttribute.cs
- rsa.cs
- WebCategoryAttribute.cs
- HtmlValidatorAdapter.cs
- DeflateEmulationStream.cs
- ExpressionReplacer.cs
- URIFormatException.cs
- DataSourceXmlSerializationAttribute.cs
- BamlMapTable.cs
- HwndAppCommandInputProvider.cs
- KeyToListMap.cs
- IOException.cs
- CodeLabeledStatement.cs
- PageParser.cs
- coordinatorfactory.cs
- PermissionListSet.cs
- ServiceControllerDesigner.cs
- PropertyGeneratedEventArgs.cs
- SmiEventStream.cs
- Queue.cs
- ToolStripDropDownButton.cs
- _PooledStream.cs
- PageAdapter.cs
- XmlDocument.cs
- CellParaClient.cs
- RayHitTestParameters.cs
- versioninfo.cs
- GenerateTemporaryAssemblyTask.cs
- wgx_sdk_version.cs
- StringKeyFrameCollection.cs
- TypeForwardedToAttribute.cs
- OracleString.cs
- SmiMetaData.cs
- SoapSchemaMember.cs
- HtmlInputRadioButton.cs
- NamespaceListProperty.cs
- Group.cs
- ZipIOCentralDirectoryBlock.cs
- BaseParagraph.cs
- ActivityDesignerHelper.cs
- UnsafeNetInfoNativeMethods.cs
- DataColumnChangeEvent.cs
- SqlConnectionStringBuilder.cs
- PackWebResponse.cs
- HtmlInputHidden.cs
- _HTTPDateParse.cs
- UnsafePeerToPeerMethods.cs
- OpenFileDialog.cs
- OracleTimeSpan.cs
- DataListItem.cs
- WebPartZoneBaseDesigner.cs
- RowBinding.cs
- StatusBarAutomationPeer.cs
- ScrollBarAutomationPeer.cs
- FontStyleConverter.cs
- TextAnchor.cs
- ContextStack.cs
- XsdBuildProvider.cs
- AppDomainProtocolHandler.cs
- OperandQuery.cs
- Binding.cs
- Adorner.cs
- ValueType.cs
- AlignmentYValidation.cs
- CommandPlan.cs