Answer the question
In order to leave comments, you need to log in
Is there such a property in xaml to bind to the property when the application starts?
Suppose there is such a property
public TCommand ReadDataBase
{
get
{
return new TCommand
(
(obj) =>
{
UserList = DataBaseOperations.ReadDataBase();
}
);
}
}
Answer the question
In order to leave comments, you need to log in
Do not make such saints.
Make St. like this:
public MyClass()
{
MyCommand = new DelegateCommand(AnyAction);
}
public ICommand MyCommand {get;}
void AnyAction()
{
//code
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question