Forum Replies Created

Viewing 15 posts - 1,336 through 1,350 (of 1,351 total)
  • Author
    Posts
  • Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Berney,

    You can use the GetCoercedSurfaceConfiguration method to get the SurfaceConfiguration that is currently applied to a card :

    SurfaceConfiguration

    sc = MultiSurfaceViewBase.GetCoercedSurfaceConfiguration( ( ( DataRow )grid.GetContainerFromItem( grid.CurrentItem ) ) );

    You can then use the GetSurfaces method to get the surface represented by that SurfaceConfiguration :

    CardflowView3DSurfaces

    cfv = CardflowView3D.GetSurfaces( sc );

    * Check for null at every step to avoid exceptions.

    Imported from legacy forums. Posted by Diane [Xceed] (had 470 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Doug,

     You can style columns as in you can style their cells, but you cannot style a column directly like how you are trying to do it in that code snippet.

    The reasons why this isn’t working is that the column isn’t a UIElement and therefore cannot be styled, you cannot modify a collection (in this case, Columns) in a template or a style, and also you cannot use DataGridControl elements in a ControlTemplate like that.

    Imported from legacy forums. Posted by Diane [Xceed] (had 2481 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Peter,

    I was able to change the font color of my data cells using your code snippet, so it definately is possible to do it.

    If you make a sample application that reproduces the issue and send it to support@xceed.com, we can try to investigate it further.

    (please include a link to this forum thread in your email)

     

    Imported from legacy forums. Posted by Diane [Xceed] (had 4424 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Thank you for your suggestion, it was submitted to the development team.

    Imported from legacy forums. Posted by Diane [Xceed] (had 5768 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Karthikeyan,

    Only the DLLs related to the product(s) you registered can be distributed. The Xceed Installation package is only for your development machines (keep in mind that although you may install the package on multiple machines, you still need 1 license per developer using our products).

    Please see the following pages for more information :

    http://doc.xceedsoft.com/products/XceedWpfDataGrid/Methods_of_Deployment.html

    http://doc.xceedsoft.com/products/XceedWpfDataGrid/Redistributable_Files.html

    Imported from legacy forums. Posted by Diane [Xceed] (had 2224 views)

    Diane [Xceed]
    Moderator
    Post count: 1353
    in reply to: 3.1 Woes #31352

    Hi Michael,

    Since version 3.0 we support the IDataErrorInfo interface (on DataItems), meaning we no longer ignore warnings. There is probably something in your code that uses this interface and has set warnings, which is why the cells are flagged as having an error.

    Imported from legacy forums. Posted by Diane [Xceed] (had 2170 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Tomas,

    I was able to make it work with the following Binding :

    MaxLength

    =”{Binding RelativeSource={RelativeSource AncestorType=Window}, Path=AnbieterMetadata.KurzSize}”

    Imported from legacy forums. Posted by Diane [Xceed] (had 2066 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Jay,

    You need a 3.1 Pro license to unlock those features. If you have a valid licence and are still having problems, please send us an email at support@xceed.com

    Imported from legacy forums. Posted by Diane [Xceed] (had 2306 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Take a look at my answer in the following thread : http://xceed.com/CS/forums/thread/18310.aspx

    Imported from legacy forums. Posted by Diane [Xceed] (had 3020 views)

    Diane [Xceed]
    Moderator
    Post count: 1353
    in reply to: Unbound Column #31333

    Hi Nathan,

    You can do this by adding a column with a FieldName that doesn’t exist but binding it to an existing one. Then you use the CellContentTemplate to display whatever information you’d like.

    For example, let’s say I have a table with a FirstName and a LastName, but I want a custom column to display the full name as “LastName, FirstName” :

    [quote]<xcdg:Column FieldName=”FullName” Title=”Full Name” ReadOnly=”True” >
                  
       <!– Bind to a valid column –>
       <xcdg:Column.DisplayMemberBindingInfo>
          <xcdg:DataGridBindingInfo Path=”LastName” />
       </xcdg:Column.DisplayMemberBindingInfo>

       <!– Custom Template –>
       <xcdg:Column.CellContentTemplate>
          <DataTemplate>
             <StackPanel Orientation=”Horizontal”>

                <!– this retrieves the LastName which I am bound to –>
                <TextBlock Text=”{Binding }” />

                <TextBlock Text=”, ” />

                <!– this retrieves the FirstName from my DataContext which contains the row’s data –>
                <TextBlock Text=”{Binding RelativeSource={RelativeSource AncestorType=xcdg:DataRow},Path=DataContext.FirstName}” />

             </StackPanel>
          </DataTemplate>
       </xcdg:Column.CellContentTemplate>
    </xcdg:Column>[/quote]

    Note that you don’t have to use the column you use as your binding, even though I do so in my example.

    Imported from legacy forums. Posted by Diane [Xceed] (had 1818 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Dusan, 

    I did a quick test using version 3.1 and do not reproduce this problem, so upgrading would be your best option.

    If you have a support subscription you can send us an email at support@xceed.com and we will investigate further.

    Alternatively you could also make a request for custom developpement to obtain a modified version 2.0, if so please contact sales@xceed.com.

    * please include a link to this forum post in your email

    Imported from legacy forums. Posted by Diane [Xceed] (had 815 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    Hi Nathan,

    You could use a CellContentTemplate to customize the content of that column. For example it could have a ListBox binded to the data to be displayed.

    Imported from legacy forums. Posted by Diane [Xceed] (had 486 views)

    Diane [Xceed]
    Moderator
    Post count: 1353
    in reply to: Fixed Footer Row #16708

    Here is a working sample I did :

    // Create a new Summary Row
    SummaryRow summaryRow = new SummaryRow();

    // Add it to the grid
    gridControl.FixedFooterRows.Add( summaryRow );

    // Create a Summary Cell for the column
    SummaryCell cellSumCost = ( SummaryCell )summaryRow.Cells[ “Cost” ];

    // Set up the summary cell
    cellSumCost.StatFieldName =
    “Cost”;
    cellSumCost.StatFunction = Xceed.Grid.
    StatFunction.Sum;

    Imported from legacy forums. Posted by Diane [Xceed] (had 3050 views)

    Diane [Xceed]
    Moderator
    Post count: 1353

    You need to specify that you will be overriding the default UI Style, and you should also be adding the row to the fixed headers (you need to clear the default content and re-add your own, otherwise you will end up with 2 column manager rows) :

    ColumnManagerRow columnManager = new ColumnManagerRow();

    columnManager.OverrideUIStyle = true;columnManager.GradientMap.GradientStops.Add(

    new GradientStop( 0, Color.SteelBlue ) );
    columnManager.GradientMap.GradientStops.Add(
    new GradientStop( 0.5, Color.White ) );
    columnManager.GradientMap.GradientStops.Add(
    new GradientStop( 1, Color.SteelBlue ) );

    detailStrikes.FixedHeaderRows.Clear();
    detailStrikes.FixedHeaderRows.Add(new GroupByRow() );
    detailStrikes.FixedHeaderRows.Add( columnManager );

    Imported from legacy forums. Posted by Diane [Xceed] (had 568 views)

    Diane [Xceed]
    Moderator
    Post count: 1353
    in reply to: Fixed Footer Row #16706

    Adding Fixed Rows :

    grid.FixedHeaderRows.Add( new ColumnManagerRow() );
    grid.FixedFooterRows.Add( new TextRow( “Grid Fixed Footer” ) );

    Adding Scrollable Rows :

    grid.HeaderRows.Add( new InsertionRow() );
    grid.FooterRows.Add( new TextRow( “Grid Scrollable Footer” ) );

    See this page for more info :
    http://doc.xceedsoft.com/products/XceedGrid/Headers_and_footers.html

    Imported from legacy forums. Posted by Diane [Xceed] (had 882 views)

Viewing 15 posts - 1,336 through 1,350 (of 1,351 total)