Hi
i have XAML code as below
igDP:XamDataGrid BindToSampleData="False" x:Name="dgUserAttributeList" GroupByAreaLocation="None"
DataSource="{Binding UserAttributes}"
BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}"
ActiveDataItem="{Binding SelectedElement, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
ScrollingMode="Immediate" Margin="0,5,0,0">
<!--<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseDoubleClick">
<cmd:EventToCommand Command="{Binding ShowPropertiesCommand, Mode=OneWay}"/>
</i:EventTrigger>
<i:EventTrigger EventName="PreviewMouseRightButtonDown">
<trigger:RecordActivationAction />
</i:Interaction.Triggers>-->
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings AllowAddNew="False" AllowDelete="False" AutoGenerateFields="False" />
</igDP:XamDataGrid.FieldLayoutSettings>
<igDP:XamDataGrid.FieldSettings>
<igDP:FieldSettings AllowEdit="False"
CellClickAction="SelectRecord"
AllowGroupBy="False" AllowHiding="Never"
AllowRecordFiltering="False" AllowSummaries="False" />
</igDP:XamDataGrid.FieldSettings>
<igDP:XamDataGrid.ViewSettings>
<igDP:GridViewSettings />
</igDP:XamDataGrid.ViewSettings>
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout>
<igDP:Field Name="Name" Label="Catalog Number" Width="Auto" />
<igDP:Field Name="values" Label="Description" Width="Auto" />
<igDP:Field Name="DisplayValue" Label="Description" Width="*" />
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts>
</igDP:XamDataGrid>
My Class definition is as below.
ublic class AttributeInfo
{
public AttributeInfo()
_values = new ObservableCollection<string>();
}
#region private fileds
private String _Name;
private String _DisplayValue;
private ObservableCollection<string> _values;
# region Properties
public String Name
get { return this._Name; }
set
if (this._Name != value)
this._Name = value;
NotifyPropertyChanged("Name");
public String DisplayValue
get { return this._DisplayValue; }
if (_DisplayValue != value)
_DisplayValue = value;
NotifyPropertyChanged("DisplayValue");
public ObservableCollection<string> values
get { return this._values; }
if (_values != value)
_values = value;
NotifyPropertyChanged("values");
//public Boolean? IsReadOnly { get { return _IsReadOnly; } }
//public Guid AttributeID { get { return _AttributeID; } }
//public Guid ElementID { get { return _ElementID; } }
//public Boolean? IsVisible { get { return _IsVisible; } }
# endregion
Hi Infragistics Team,
Any suggestions to the below Issue.
Hello,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but it seems like that I am missing something in your scenario, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Feel free to write me if you have further questions.