Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Documents / Italic.cs / 1 / 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
- DesignConnectionCollection.cs
- Baml2006ReaderContext.cs
- TransactionManager.cs
- CopyCodeAction.cs
- precedingsibling.cs
- TextRenderer.cs
- TreeView.cs
- BitmapEffect.cs
- ValidationRule.cs
- ContainerSelectorGlyph.cs
- FormViewDeleteEventArgs.cs
- AvtEvent.cs
- FunctionQuery.cs
- ListBoxChrome.cs
- _NegotiateClient.cs
- DecoratedNameAttribute.cs
- DbgCompiler.cs
- OrderPreservingPipeliningSpoolingTask.cs
- InstanceDescriptor.cs
- State.cs
- TTSEvent.cs
- Zone.cs
- SqlTransaction.cs
- safesecurityhelperavalon.cs
- GroupStyle.cs
- WindowsMenu.cs
- Stackframe.cs
- InternalRelationshipCollection.cs
- RepeatButton.cs
- DependsOnAttribute.cs
- KnowledgeBase.cs
- ScriptingJsonSerializationSection.cs
- DynamicUpdateCommand.cs
- UrlPath.cs
- ViewSimplifier.cs
- MaskInputRejectedEventArgs.cs
- UnsupportedPolicyOptionsException.cs
- WebServiceAttribute.cs
- _NetworkingPerfCounters.cs
- HttpListenerRequestUriBuilder.cs
- ThreadLocal.cs
- ZipIOExtraFieldZip64Element.cs
- SqlTriggerContext.cs
- Misc.cs
- _NativeSSPI.cs
- TextTreeTextElementNode.cs
- DataMisalignedException.cs
- PasswordBox.cs
- querybuilder.cs
- TextShapeableCharacters.cs
- AppDomainAttributes.cs
- XmlNamespaceMapping.cs
- ReversePositionQuery.cs
- _TLSstream.cs
- ImageButton.cs
- ApplicationGesture.cs
- ProxyElement.cs
- EditingCommands.cs
- ErrorTolerantObjectWriter.cs
- CompositeActivityValidator.cs
- UpDownBaseDesigner.cs
- InputScopeAttribute.cs
- ListSurrogate.cs
- UIElement3DAutomationPeer.cs
- IgnoreDeviceFilterElement.cs
- CharEntityEncoderFallback.cs
- DetailsViewPageEventArgs.cs
- NetworkInformationException.cs
- CfgParser.cs
- StateManagedCollection.cs
- RegexTree.cs
- FixedTextBuilder.cs
- CursorConverter.cs
- BufferBuilder.cs
- ComponentResourceManager.cs
- CustomErrorsSection.cs
- Part.cs
- MainMenu.cs
- StringAnimationBase.cs
- HierarchicalDataBoundControl.cs
- SqlPersonalizationProvider.cs
- CannotUnloadAppDomainException.cs
- TextSelectionProcessor.cs
- XmlElementElement.cs
- ConstraintStruct.cs
- TextStore.cs
- ProviderConnectionPointCollection.cs
- WebPartVerb.cs
- Pointer.cs
- mil_commands.cs
- AppSecurityManager.cs
- SettingsPropertyValueCollection.cs
- GestureRecognizer.cs
- PersistChildrenAttribute.cs
- RightsManagementProvider.cs
- DictionaryEntry.cs
- HitTestFilterBehavior.cs
- RecordConverter.cs
- EmptyEnumerator.cs
- XPathPatternParser.cs