Torna al Thread

<xcdg:DataGridControl.Columns> <xcdg:Column FieldName="CodAliquotaIVA" IsMainColumn="True" Title="Codice IVA" Width="80"> <xcdg:Column.CellEditor> <xcdg:CellEditor> <xcdg:CellEditor.EditTemplate> <DataTemplate> <xcdg:AutoSelectTextBox FocusVisualStyle="{x:Null}" Text="{xcdg:CellEditorBinding}" AutoMoveFocus="True" BorderThickness="0" AutoSelectBehavior="OnFocus" /> </DataTemplate> </xcdg:CellEditor.EditTemplate> <xcdg:CellEditor.ActivationGestures><xcdg:TextInputActivationGesture /></xcdg:CellEditor.ActivationGestures> </xcdg:CellEditor> </xcdg:Column.CellEditor> </xcdg:Column> <xcdg:Column FieldName="PercentualeIVA" Title="Imposta" Width="80"> <xcdg:Column.CellContentTemplate> <DataTemplate> <TextBlock Text="{Binding ., StringFormat=' {0}%'}" TextAlignment="Right" /> </DataTemplate> </xcdg:Column.CellContentTemplate> <xcdg:Column.CellEditor> <xcdg:CellEditor> <xcdg:CellEditor.EditTemplate> <DataTemplate> <xcdg:NumericTextBox BorderThickness="0" FocusVisualStyle="{x:Null}" MinValue="1" TabIndex="0" Text="{xcdg:CellEditorBinding}" ValueDataType="my:Decimal" AutoMoveFocus="True" AutoSelectBehavior="OnFocus" /> </DataTemplate> </xcdg:CellEditor.EditTemplate> <xcdg:CellEditor.ActivationGestures><xcdg:TextInputActivationGesture /></xcdg:CellEditor.ActivationGestures> </xcdg:CellEditor> </xcdg:Column.CellEditor> </xcdg:Column> <xcdg:Column FieldName="DescrizioneIVA" Title="Descrizione" Width="130*"> <xcdg:Column.CellEditor> <xcdg:CellEditor> <xcdg:CellEditor.ActivationGestures> <xcdg:TextInputActivationGesture /> </xcdg:CellEditor.ActivationGestures> <xcdg:CellEditor.EditTemplate> <DataTemplate> <xcdg:AutoSelectTextBox FocusVisualStyle="{x:Null}" Text="{xcdg:CellEditorBinding}" AutoMoveFocus="True" BorderThickness="0" AutoSelectBehavior="OnFocus" /> </DataTemplate> </xcdg:CellEditor.EditTemplate> </xcdg:CellEditor> </xcdg:Column.CellEditor> </xcdg:Column> <xcdg:Column FieldName="NoteMemo" Title="Note" Width="130*"> <xcdg:Column.CellEditor> <xcdg:CellEditor> <xcdg:CellEditor.ActivationGestures> <xcdg:TextInputActivationGesture /> </xcdg:CellEditor.ActivationGestures> <xcdg:CellEditor.EditTemplate> <DataTemplate> <xcdg:AutoSelectTextBox FocusVisualStyle="{x:Null}" Text="{xcdg:CellEditorBinding}" AutoMoveFocus="True" BorderThickness="0" AutoSelectBehavior="OnFocus" /> </DataTemplate> </xcdg:CellEditor.EditTemplate> </xcdg:CellEditor> </xcdg:Column.CellEditor> </xcdg:Column> <xcdg:Column FieldName="Predefinito" Title="Predef." Width="50" ReadOnly="True" > <xcdg:Column.CellContentTemplate> <DataTemplate> <Grid Cursor="Hand"> <Grid.Background> <SolidColorBrush /> </Grid.Background> <Image Source="{Binding Converter={StaticResource TickBooleanToImageConverter}}" Stretch="None" HorizontalAlignment="Center" VerticalAlignment="Center" /> </Grid> </DataTemplate> </xcdg:Column.CellContentTemplate> </xcdg:Column> </xcdg:DataGridControl.Columns> <xcdg:DataGridControl.View> <xcdg:TableView UseDefaultHeadersFooters="False" HorizontalGridLineThickness="1" ShowFixedColumnSplitter="False" ShowRowSelectorPane="False" VerticalGridLineThickness="1"> <xcdg:TableView.FixedHeaders> <DataTemplate> <xcdg:ColumnManagerRow AllowAutoFilter="False" AllowColumnReorder="False" AllowColumnResize="False" AllowSort="False" /> </DataTemplate> </xcdg:TableView.FixedHeaders> <xcdg:TableView.Footers> <DataTemplate> <xcdg:InsertionRow /> </DataTemplate> </xcdg:TableView.Footers> </xcdg:TableView> </xcdg:DataGridControl.View>
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5