Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6032765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:22:57+00:00 2026-05-23T05:22:57+00:00

Something like: <TextBlock Text={Binding Text,Converter={StaticResource ccc},ConverterParameter=PersonName}/> when Person name is Property of the class

  • 0

Something like:

 <TextBlock Text="{Binding Text,Converter={StaticResource
  ccc},ConverterParameter=PersonName}"/>

when Person name is Property of the class for example.

Update:

I’ve seen a solution that tells to inherit from DependencyObject and to implement IValueConverter.
I want to know if there is something simpler.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:22:58+00:00Added an answer on May 23, 2026 at 5:22 am

    The answer is straight-forward, but not what you want to hear.

    You can only target a binding at DependencyProperty on a DependencyObject. Binding does not inherit from DO, so you can’t binding the converter parameter.

    If you want other state passed into a converter, you may have to subclass the desired obect and add new properties

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need TextBlock.Text to be retrieved from translation manager, something like <TextBlock Text={Binding TranslateManager.Translate('word')}
I need to set a TextBlock's Text to something like Name (number of items
How can i achieve something like this: <ListView Name=OverviewTitlesListView ItemsSource={Binding OverviewTitlesCollection}> <ListView.View> <GridView> <GridViewColumn
I'm looking for something along these lines: <TextBlock Grid.Column=1 Text=Welcome, {Binding UserName}! /> This
I have a binding set to the Text property of a TextBlock in my
I have this PivotItem: <controls:PivotItem Header=Biografie> <StackPanel> <ScrollViewer x:Name=textScroller Margin=10,0,10,0> <TextBlock Text={Binding Biography} TextWrapping=Wrap/>
I have something like this: <ListBox ItemsSource={Binding List}> <ListBox.ItemContainerStyle> <Style TargetType=ListBoxItem> <Setter Property=HorizontalContentAlignment Value=Stretch></Setter>
Something like this: from Tkinter import * root = Tk() but = Button(root, text
How can I bind 2 properties to a single TextBlock.Text (eg. first name and
I'm creating a UserControl I want to use something like this: <controls:ColorWithText Color=Red Text=Red

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.