Visibility Column Binding

May 15, 2013 at 6:43 PM
Hi , im binding some columns of the datagrid with one property of View Model like this

this is the property
__private Visibility _visibilidadColumnasCostos;
    public Visibility VisibilidadColumnasCostos
    {
        get { return _visibilidadColumnasCostos; }
        set { _visibilidadColumnasCostos = value;
            NotifyPropertyChanged(p=>VisibilidadColumnasCostos);
        }__
and this is the binding
Visibility="{Binding Path=VisibilidadColumnasCostos,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}"

I want to Hide The some columns eventually , but it does not work at all.
Is everything okey ? , thanks.
Coordinator
May 19, 2013 at 9:06 AM