FlowDocumentPageViewer.SelectionBrush Eigenschap
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee haalt u het penseel op of stelt u deze in waarmee de geselecteerde tekst wordt gemarkeerd.
public:
property System::Windows::Media::Brush ^ SelectionBrush { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush SelectionBrush { get; set; }
member this.SelectionBrush : System.Windows.Media.Brush with get, set
Public Property SelectionBrush As Brush
Waarde van eigenschap
Een kwast waarmee de geselecteerde tekst wordt gemarkeerd.
Voorbeelden
In het volgende voorbeeld wordt een FlowDocumentPageViewer, wordt de SelectionBrush eigenschap ingesteld op roze en wordt de SelectionOpacity eigenschap ingesteld op 0,7.
<FlowDocumentPageViewer SelectionBrush="Pink" SelectionOpacity="0.7">
<FlowDocument>
<Paragraph>
<Bold>Neptune</Bold> (planet), major planet in the solar system, eighth planet
from the Sun and fourth largest in diameter. Neptune maintains an almost constant
distance, about 4,490 million km (about 2,790 million mi), from the Sun. Neptune
revolves outside the orbit of Uranus and for most of its orbit moves inside the
elliptical path of the outermost planet Pluto (see Solar System). Every 248 years,
Pluto’s elliptical orbit brings the planet inside Neptune’s nearly circular orbit
for about 20 years, temporarily making Neptune the farthest planet from the Sun.
The last time Pluto’s orbit brought it inside Neptune’s orbit was in 1979. In
1999 Pluto’s orbit carried it back outside Neptune’s orbit.
</Paragraph>
</FlowDocument>
</FlowDocumentPageViewer>
Opmerkingen
U kunt het kwast opgeven waarmee geselecteerde tekst in een FlowDocumentPageViewer tekst wordt gemarkeerd door de SelectionBrush en de SelectionOpacity eigenschappen in te stellen.