Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / Underline.cs / 1305600 / Underline.cs
//---------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Underline element. // Xaml markup helper for indicating superscript content. // Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Underline element - markup helper for indicating superscript content. /// Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. /// Can contain other inline elements. /// public class Underline : Span { //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Underline() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline))); } ////// Initilizes a new instance of a Underline element /// ////// To become fully functional this element requires at least one other Inline element /// as its child, typically Run with some text. /// In Xaml markup the UNderline element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Underline() : base() { } ////// Initializes a new instance of Underline element and adds a given Subscript element as its first child. /// /// /// Inline element added as an initial child to this Underline element /// public Underline(Inline childInline) : base(childInline) { } ////// Creates a new Underline instance. /// /// /// Optional child Inline for the new Underline. May be null. /// /// /// Optional position at which to insert the new Underline. May be null. /// public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Underline instance covering existing content. /// /// /// Start position of the new Underline. /// /// /// End position of the new Underline. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Underline(TextPointer start, TextPointer end) : base(start, end) { } #endregion Constructors } } // 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
- IndentedTextWriter.cs
- PageSettings.cs
- WindowsListViewItemCheckBox.cs
- NamedServiceModelExtensionCollectionElement.cs
- TreeViewImageIndexConverter.cs
- LineBreakRecord.cs
- DataGridViewColumnConverter.cs
- SchemaMerger.cs
- PageStatePersister.cs
- LineSegment.cs
- XmlProcessingInstruction.cs
- NavigateEvent.cs
- EditorAttributeInfo.cs
- ReadOnlyDictionary.cs
- WsdlBuildProvider.cs
- DataRecord.cs
- GenericEnumConverter.cs
- SQLUtility.cs
- GeneralTransform2DTo3D.cs
- QueryComponents.cs
- HorizontalAlignConverter.cs
- BaseValidatorDesigner.cs
- ProfilePropertySettingsCollection.cs
- XmlUtilWriter.cs
- PrintDialog.cs
- CodeRemoveEventStatement.cs
- PropertyEntry.cs
- CurrentTimeZone.cs
- RuntimeResourceSet.cs
- UnionCodeGroup.cs
- PersonalizationDictionary.cs
- SocketPermission.cs
- Processor.cs
- ColorKeyFrameCollection.cs
- ArrowControl.xaml.cs
- ISO2022Encoding.cs
- OuterGlowBitmapEffect.cs
- ReaderWriterLockWrapper.cs
- SoundPlayerAction.cs
- ExpressionConverter.cs
- HtmlFormWrapper.cs
- CollectionContainer.cs
- TextSelectionHighlightLayer.cs
- SortFieldComparer.cs
- XmlSerializationGeneratedCode.cs
- WebEventTraceProvider.cs
- ComponentTray.cs
- RightsManagementInformation.cs
- DoubleAnimation.cs
- HashAlgorithm.cs
- CodeMethodReturnStatement.cs
- PocoPropertyAccessorStrategy.cs
- RectValueSerializer.cs
- ResXResourceWriter.cs
- UnionCqlBlock.cs
- XmlSchemaComplexContentExtension.cs
- ArgumentReference.cs
- CqlGenerator.cs
- PagePropertiesChangingEventArgs.cs
- XPathMultyIterator.cs
- BamlRecordHelper.cs
- StorageComplexPropertyMapping.cs
- LambdaCompiler.Binary.cs
- GeometryCombineModeValidation.cs
- WebServiceEnumData.cs
- StringToken.cs
- HttpRuntime.cs
- JoinTreeNode.cs
- PreservationFileReader.cs
- MouseEvent.cs
- TableTextElementCollectionInternal.cs
- SingletonInstanceContextProvider.cs
- CodeParameterDeclarationExpressionCollection.cs
- StructuralCache.cs
- PriorityRange.cs
- SqlXml.cs
- Ipv6Element.cs
- AsyncOperation.cs
- CultureMapper.cs
- Scripts.cs
- AtomServiceDocumentSerializer.cs
- ComponentEditorForm.cs
- cryptoapiTransform.cs
- OpenFileDialog.cs
- SafeNativeMethodsMilCoreApi.cs
- SecurityDescriptor.cs
- AliasGenerator.cs
- SelectionProcessor.cs
- EndpointIdentity.cs
- linebase.cs
- WindowsListViewGroup.cs
- SessionEndedEventArgs.cs
- NamespaceDisplayAutomationPeer.cs
- WebPartZoneCollection.cs
- OperationAbortedException.cs
- KeyManager.cs
- DataGridRow.cs
- ClientBuildManager.cs
- Size.cs
- BreakRecordTable.cs