Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / Italic.cs / 1305600 / Italic.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic 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 Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(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. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic 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 Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(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
- SEHException.cs
- SingleAnimation.cs
- SchemaCreator.cs
- GenericAuthenticationEventArgs.cs
- ResourceReferenceExpressionConverter.cs
- NativeMethodsOther.cs
- UnmanagedMemoryAccessor.cs
- SrgsDocument.cs
- glyphs.cs
- EnumValAlphaComparer.cs
- WebResourceUtil.cs
- FrameworkElementFactory.cs
- PersonalizationProviderCollection.cs
- Console.cs
- ActivityDesignerResources.cs
- PeerSecurityHelpers.cs
- ExpressionBuilderCollection.cs
- ResourceReferenceKeyNotFoundException.cs
- ZipIOExtraFieldZip64Element.cs
- TextBreakpoint.cs
- GradientStopCollection.cs
- SiteMapNodeCollection.cs
- CompilerWrapper.cs
- TransformedBitmap.cs
- XNodeNavigator.cs
- CustomTypeDescriptor.cs
- UIElementAutomationPeer.cs
- ListViewInsertedEventArgs.cs
- IPAddress.cs
- TabControlEvent.cs
- ListView.cs
- MaterialCollection.cs
- MissingMemberException.cs
- CategoryNameCollection.cs
- ToolStripContentPanel.cs
- ProfileService.cs
- ImageInfo.cs
- TextTreeUndo.cs
- Image.cs
- DisableDpiAwarenessAttribute.cs
- MD5CryptoServiceProvider.cs
- Events.cs
- MetadataItemEmitter.cs
- RegexTree.cs
- ValueTypeIndexerReference.cs
- ReadOnlyDictionary.cs
- Completion.cs
- HebrewCalendar.cs
- EmbeddedMailObjectsCollection.cs
- WebConfigurationHostFileChange.cs
- SiteOfOriginPart.cs
- SqlComparer.cs
- ProcessThreadCollection.cs
- GenericUriParser.cs
- MessageBodyDescription.cs
- BrowserCapabilitiesCompiler.cs
- ELinqQueryState.cs
- TextBreakpoint.cs
- MemoryMappedView.cs
- WebRequestModuleElement.cs
- AppSecurityManager.cs
- DocumentViewerAutomationPeer.cs
- InvokeMethod.cs
- CustomErrorsSectionWrapper.cs
- ToolStripArrowRenderEventArgs.cs
- WebPartEditorApplyVerb.cs
- ConsoleKeyInfo.cs
- SHA256.cs
- NameHandler.cs
- SqlDependency.cs
- ReversePositionQuery.cs
- UserControlParser.cs
- CaseInsensitiveHashCodeProvider.cs
- StackBuilderSink.cs
- DiffuseMaterial.cs
- SizeChangedEventArgs.cs
- Action.cs
- ToolBarButton.cs
- SQLBytes.cs
- ExpressionLink.cs
- InstancePersistenceContext.cs
- PropertyPushdownHelper.cs
- Decimal.cs
- Events.cs
- DesignerTransaction.cs
- DataStreams.cs
- SqlMethodCallConverter.cs
- EdmComplexPropertyAttribute.cs
- XmlAttributeProperties.cs
- SafeHandles.cs
- EntityContainerEntitySet.cs
- NumberSubstitution.cs
- NonPrimarySelectionGlyph.cs
- AlignmentYValidation.cs
- HierarchicalDataSourceConverter.cs
- InvokeProviderWrapper.cs
- BeginEvent.cs
- Table.cs
- DBCSCodePageEncoding.cs
- StateMachineAction.cs