how to pass two data to IValueConterter(object vaue, object parameter)?
NickName:nogaku nogaku1987 Ask DateTime:2016-12-01T09:50:31

how to pass two data to IValueConterter(object vaue, object parameter)?

<TextBlock x:Name="txtContentMessage" Text="{Binding Text}" TextTrimming="CharacterEllipsis" 
TextWrapping="Wrap" Foreground="{Binding Entities,Converter={StaticResource ChangedColorToUrlConverter}}" MaxLines="3" Grid.Row="1">
</TextBlock>

Now, It just pass data to object value. So I also want to pass to object parameter

  • object value will be assigned by Entities.
  • object parameter will be assigned by Text.

Copyright Notice:Content Author:「nogaku nogaku1987」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/40901336/how-to-pass-two-data-to-ivalueconterterobject-vaue-object-parameter

More about “how to pass two data to IValueConterter(object vaue, object parameter)?” related questions

how to pass two data to IValueConterter(object vaue, object parameter)?

&lt;TextBlock x:Name="txtContentMessage" Text="{Binding Text}" TextTrimming="CharacterEllipsis" TextWrapping="Wrap" Foreground="{Binding Entities,Converter={StaticResource ChangedColorToUrlConvert...

Show Detail

Pass object as parameter in ProcessBuilder?

I want to pass two or more object as parameter into the ProcessBuilder for the purpose of run program as seprate process. I tried the following code but it doesn't work. public static int exec(FTP...

Show Detail

How To pass multiple object as a parameter from controller to service then in Api Service in angularjs

I am tried to Pass the multiple object as a parameter in method call from controller to service layer in angular ,but I was not being able to pass multiple object.(Single object can be passed) can...

Show Detail

Pass Object Array as a parameter to a JSONP

I have a object like: var my_component = {}; Later I assign some properties to it. my_component.ID = 1; my_component.Name = 'test_user'; There are large numbers of object like this. How can i ...

Show Detail

CORBA : How to pass a QT object as a parameter

I'm new to CORBA and is trying to create a Corba interface for my QT Application. I checked the data types that you could use with CORBA, but I'm not sure if I could use a QT object as a parameter ...

Show Detail

how to pass complex object as a parameter in blazor navigateTo

When in try to pass complex object as parameter, it just passes the typename of the Object. What are the options to pass in complex Object when navigating to different component/page ? This is what i

Show Detail

How can we pass object as a parameter to a function name in Object value?

I want to pass an object to a function which is a value of another object. Is this possible, how can we do that? I can pass a string easily and a variable as a string. But, cannot pass as an object...

Show Detail

Efficient Way to Pass an Object Parameter in Java Method

I'm just looking some another efficient way to pass an object parameter to method. So I have some method like this: private void dashboardMenu() { Dashboard dashboard = new Dashboard(); body.

Show Detail

how to pass an object and a usercontrol multiple parameter in markup

I have a method in my MouthDiseaseViewModel public void Insert(MouthDisease entity, DetailsUserControl userCon) { //some code for saving to the db } How can I pass these two parameters (1

Show Detail

Populate an object and pass it in a request parameter in GraphQL

How can we populate an object and pass it in a request parameter in GraphQL. For example, i want to get rid of sequence of parameters here in the GraphQL request and want to create an object and pa...

Show Detail